Add DMA timing hack for Koryu no Mimi translation by rpgone

(fixes #279)
This commit is contained in:
OV2 2018-04-01 19:38:56 +02:00
parent 60fc2fb0ae
commit 94d9416d40
1 changed files with 7 additions and 0 deletions

View File

@ -3827,6 +3827,13 @@ void CMemory::ApplyROMFixes (void)
Timings.DMACPUSync = 20;
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)