Fixed regression with FAD end in track mode, fixes Death Throttle

This commit is contained in:
Angelo Salese 2013-03-04 03:56:07 +00:00
parent 18d8f5b5a5
commit 4edc2e6c2c
2 changed files with 2 additions and 3 deletions

View File

@ -363,7 +363,6 @@ void saturn_state::cd_exec_command( void )
}
printf("track mode %d\n",cur_track);
}
if (end_pos & 0x800000)
@ -376,7 +375,7 @@ void saturn_state::cd_exec_command( void )
UINT8 end_track;
end_track = (end_pos)>>8;
fadstoplay = cdrom_get_track_start(cdrom, end_track) - cd_curfad;
fadstoplay = cdrom_get_track_start(cdrom, end_track) - cd_fad_seek;
}
}
else // play until the end of the disc

View File

@ -16,7 +16,7 @@ Framebuffer todo:
#include "emu.h"
#include "includes/stv.h"
#define VDP1_LOG 1
#define VDP1_LOG 0
enum { FRAC_SHIFT = 16 };