Small optimisation
This commit is contained in:
@@ -1816,11 +1816,7 @@ void CheckTimers(void)
|
|||||||
|
|
||||||
while ((end - start) >= update_ticks_pc)
|
while ((end - start) >= update_ticks_pc)
|
||||||
{
|
{
|
||||||
_asm{
|
Game60hzcall();
|
||||||
pushad
|
|
||||||
call Game60hzcall
|
|
||||||
popad
|
|
||||||
}
|
|
||||||
start += update_ticks_pc;
|
start += update_ticks_pc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1832,11 +1828,7 @@ void CheckTimers(void)
|
|||||||
|
|
||||||
while ((end - start) >= update_ticks_pc)
|
while ((end - start) >= update_ticks_pc)
|
||||||
{
|
{
|
||||||
_asm{
|
GUI36hzcall();
|
||||||
pushad
|
|
||||||
call GUI36hzcall
|
|
||||||
popad
|
|
||||||
}
|
|
||||||
start += update_ticks_pc;
|
start += update_ticks_pc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user