mirror of
https://github.com/holub/mame
synced 2025-05-20 04:39:11 +03:00
Fixed regression with FAD end in track mode, fixes Death Throttle
This commit is contained in:
parent
18d8f5b5a5
commit
4edc2e6c2c
@ -363,7 +363,6 @@ void saturn_state::cd_exec_command( void )
|
|||||||
}
|
}
|
||||||
|
|
||||||
printf("track mode %d\n",cur_track);
|
printf("track mode %d\n",cur_track);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (end_pos & 0x800000)
|
if (end_pos & 0x800000)
|
||||||
@ -376,7 +375,7 @@ void saturn_state::cd_exec_command( void )
|
|||||||
UINT8 end_track;
|
UINT8 end_track;
|
||||||
|
|
||||||
end_track = (end_pos)>>8;
|
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
|
else // play until the end of the disc
|
||||||
|
@ -16,7 +16,7 @@ Framebuffer todo:
|
|||||||
#include "emu.h"
|
#include "emu.h"
|
||||||
#include "includes/stv.h"
|
#include "includes/stv.h"
|
||||||
|
|
||||||
#define VDP1_LOG 1
|
#define VDP1_LOG 0
|
||||||
|
|
||||||
|
|
||||||
enum { FRAC_SHIFT = 16 };
|
enum { FRAC_SHIFT = 16 };
|
||||||
|
Loading…
Reference in New Issue
Block a user