mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 07:13:34 +01:00
Don't crash when enable debug stats is enabled in a game, then turned off after exiting a game.
This commit is contained in:
1 parent
1268bbd489
commit
87c2201873
2 files changed
+2
-4
No files matched your search
@@ -434,9 +434,7 @@ void GameSettingsScreen::update(InputState &input) {
|
||||
g_Config.iFpsLimit = alternateSpeedTable[iAlternateSpeedPercent_];
|
||||
if (g_Config.bShowDebugStats != showDebugStats_) {
|
||||
// This affects the jit.
|
||||
if (MIPSComp::jit) {
|
||||
MIPSComp::jit->ClearCache();
|
||||
}
|
||||
NativeMessageReceived("clear jit", "");
|
||||
g_Config.bShowDebugStats = showDebugStats_;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user