O2Hawk: small timing fix
This commit is contained in:
parent
99da16fa2a
commit
444a8b7823
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue