Add support for BIN/CUE images. Patch from bit, BIN/CUE handling from DOSBox.
This commit is contained in:
parent
828224d148
commit
a2f44b8ea7
21 changed files with 1363 additions and 423 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "device.h"
|
||||
|
||||
#include "cdrom-ioctl.h"
|
||||
#include "cdrom-image.h"
|
||||
#include "ide.h"
|
||||
|
||||
#include "filters.h"
|
||||
|
|
@ -134,7 +135,9 @@ static void sound_cd_thread(void *param)
|
|||
int c;
|
||||
|
||||
thread_wait_event(sound_cd_event, -1);
|
||||
memset(cd_buffer, 0, CD_BUFLEN*2 * 2);
|
||||
ioctl_audio_callback(cd_buffer, CD_BUFLEN*2);
|
||||
image_audio_callback(cd_buffer, CD_BUFLEN*2);
|
||||
if (soundon)
|
||||
{
|
||||
int32_t atapi_vol_l = atapi_get_cd_volume(0);
|
||||
|
|
@ -259,4 +262,5 @@ void sound_reset()
|
|||
|
||||
sound_set_cd_volume(65535, 65535);
|
||||
ioctl_audio_stop();
|
||||
image_audio_stop();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue