mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-07 22:37:15 +00:00
CoreTiming: Reset CPU mhz on reset.
Oops - this wasn't being reset, and stayed at the previous value. See #5530.
This commit is contained in:
parent
fd8a0612fa
commit
15244b7679
@ -34,6 +34,7 @@
|
||||
#include "Core/Reporting.h"
|
||||
#include "Common/ChunkFile.h"
|
||||
|
||||
static const int initialHz = 222000000;
|
||||
int CPU_HZ = 222000000;
|
||||
|
||||
// is this really necessary?
|
||||
@ -211,6 +212,7 @@ void Init()
|
||||
lastGlobalTimeUs = 0;
|
||||
hasTsEvents = 0;
|
||||
mhzChangeCallbacks.clear();
|
||||
CPU_HZ = initialHz;
|
||||
}
|
||||
|
||||
void Shutdown()
|
||||
|
Loading…
x
Reference in New Issue
Block a user