mirror of https://github.com/snes9xgit/snes9x.git
Add DMA timing hack for Koryu no Mimi translation by rpgone
(fixes #279)
This commit is contained in:
parent
60fc2fb0ae
commit
94d9416d40
|
@ -3827,6 +3827,13 @@ void CMemory::ApplyROMFixes (void)
|
||||||
Timings.DMACPUSync = 20;
|
Timings.DMACPUSync = 20;
|
||||||
printf("DMA sync: %d\n", Timings.DMACPUSync);
|
printf("DMA sync: %d\n", Timings.DMACPUSync);
|
||||||
}
|
}
|
||||||
|
else if (match_na("KORYU NO MIMI ENG")) // Koryu no Mimi translation by rpgone)
|
||||||
|
{
|
||||||
|
// An infinite loop reads $4210 and checks NMI flag. This only works if LDA instruction executes before the NMI triggers,
|
||||||
|
// which doesn't work very well with s9x's default DMA timing.
|
||||||
|
Timings.DMACPUSync = 20;
|
||||||
|
printf("DMA sync: %d\n", Timings.DMACPUSync);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!Settings.DisableGameSpecificHacks)
|
if (!Settings.DisableGameSpecificHacks)
|
||||||
|
|
Loading…
Reference in New Issue