mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-12 17:19:28 +01:00
Properly cleanup the jit on reset.
This commit is contained in:
1 parent
2736012719
commit
3c08a87404
1 file changed
+3
-1
+3
-1
@@ -52,7 +52,9 @@ MIPSState::~MIPSState()
|
||||
|
||||
void MIPSState::Reset()
|
||||
{
|
||||
if (!MIPSComp::jit && PSP_CoreParameter().cpuCore == CPU_JIT)
|
||||
if (MIPSComp::jit)
|
||||
delete MIPSComp::jit;
|
||||
if (PSP_CoreParameter().cpuCore == CPU_JIT)
|
||||
MIPSComp::jit = new MIPSComp::Jit(this);
|
||||
|
||||
memset(r, 0, sizeof(r));
|
||||
|
||||
Reference in new issue
Block a user