mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-05 07:17:45 -04:00
core vdp, fix obscure VInt bug, some more optimisation
This commit is contained in:
parent
4fc85c80af
commit
3b68e5107d
2 changed files with 11 additions and 12 deletions
|
@ -74,7 +74,7 @@ static void do_hint(struct PicoVideo *pv)
|
|||
|
||||
static void do_timing_hacks_end(struct PicoVideo *pv)
|
||||
{
|
||||
PicoVideoFIFOSync(488);
|
||||
PicoVideoFIFOSync(CYCLES_M68K_LINE);
|
||||
}
|
||||
|
||||
static void do_timing_hacks_start(struct PicoVideo *pv)
|
||||
|
@ -185,7 +185,6 @@ static int PicoFrameHints(void)
|
|||
// also delay between F bit (bit 7) is set in SR and IRQ happens (Ex-Mutants)
|
||||
// also delay between last H-int and V-int (Golden Axe 3)
|
||||
Pico.t.m68c_line_start = Pico.t.m68c_aim;
|
||||
PicoVideoFIFOMode(pv->reg[1]&0x40, pv->reg[12]&1);
|
||||
do_timing_hacks_start(pv);
|
||||
CPUS_RUN(CYCLES_M68K_VINT_LAG);
|
||||
|
||||
|
@ -289,7 +288,6 @@ static int PicoFrameHints(void)
|
|||
|
||||
// Run scanline:
|
||||
Pico.t.m68c_line_start = Pico.t.m68c_aim;
|
||||
PicoVideoFIFOMode(pv->reg[1]&0x40, pv->reg[12]&1);
|
||||
do_timing_hacks_start(pv);
|
||||
CPUS_RUN(CYCLES_M68K_LINE);
|
||||
do_timing_hacks_end(pv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue