mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 11:22:18 -04:00
fix reference to timer2.enabled
This commit is contained in:
parent
af695877f8
commit
c0d3ae55bf
@ -254,7 +254,7 @@ static void WriteRegister(unsigned int reg_num, unsigned int value)
|
|||||||
|
|
||||||
if ((value & 0x20) == 0)
|
if ((value & 0x20) == 0)
|
||||||
{
|
{
|
||||||
timer1.enabled = (value & 0x02) != 0;
|
timer2.enabled = (value & 0x02) != 0;
|
||||||
OPLTimer_CalculateEndTime(&timer2);
|
OPLTimer_CalculateEndTime(&timer2);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user