mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue