Add support for BIN/CUE images. Patch from bit, BIN/CUE handling from DOSBox.

This commit is contained in:
SarahW 2017-05-29 13:56:19 +01:00
commit a2f44b8ea7
21 changed files with 1363 additions and 423 deletions

23
src/cdrom-image.h Normal file
View file

@ -0,0 +1,23 @@
#ifndef CDROM_ISO_H
#define CDROM_ISO_H
#include <stdint.h>
extern char image_path[1024];
#ifdef __cplusplus
extern "C" {
#endif
int image_open(char *fn);
void image_reset();
void image_close();
void image_audio_callback(int16_t *output, int len);
void image_audio_stop();
#ifdef __cplusplus
}
#endif
#endif /* ! CDROM_ISO_H */