O2Hawk: small timing fix

This commit is contained in:
alyosha-tas 2020-04-08 19:08:22 -04:00
parent 99da16fa2a
commit 444a8b7823
2 changed files with 3 additions and 1 deletions

View File

@ -490,6 +490,7 @@ namespace BizHawk.Emulation.Cores.Components.I8048
if (counter_en)
{
// NOTE: Odyssey 2 games tend to enable the counter within a few cycles of a falling edge and expect to count to take place
if (!T1 && T1_old && (TotalExecutedCycles > next_T1_check))
{
if (Regs[TIM] == 255)

View File

@ -253,7 +253,8 @@ namespace BizHawk.Emulation.Cores.Consoles.O2Hawk
}
else
{
if (cycle == 182 && (LY < LINE_VBL))
// NOTE: most games expect one less T1 pulse after VBL, maybe some pre-render line
if (cycle == 182 && (LY < LINE_VBL) && (LY > 0))
{
HBL = true;
// Send T1 pulses