mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Store an inverted copy of lastOCfactor.
The inverse operation is more common, especially when games check the timer rapidly. So we do the division once and store the inverted copy.
This commit is contained in:
@ -30,7 +30,7 @@ extern s64 g_globalTimer;
|
||||
extern u64 g_fakeTBStartValue;
|
||||
extern u64 g_fakeTBStartTicks;
|
||||
extern int g_slicelength;
|
||||
extern float g_lastOCFactor;
|
||||
extern float g_lastOCFactor_inverted;
|
||||
|
||||
void Init();
|
||||
void Shutdown();
|
||||
|
Reference in New Issue
Block a user