PCE: Increase read delay to fix Mugen Senshi Valis fixes #554

This commit is contained in:
alyosha-tas 2018-03-20 10:08:13 -04:00
parent 981a31d32b
commit 8f193eb68f
1 changed files with 4 additions and 1 deletions

View File

@ -409,7 +409,10 @@ namespace BizHawk.Emulation.Cores.PCEngine
if (CommandBuffer[4] == 0)
SectorsLeftToRead = 256;
DataReadWaitTimer = pce.Cpu.TotalExecutedCycles + 5000; // figure out proper read delay later
// figure out proper read delay later
// 10000 fixes Mugen Senshi Valis, which runs code in a timed loop, expecting a certain number of VBlanks
// to happen before reading is complete
DataReadWaitTimer = pce.Cpu.TotalExecutedCycles + 10000;
pce.CDAudio.Stop();
}