diff --git a/Core/MIPS/MIPS.cpp b/Core/MIPS/MIPS.cpp index 477b2dd4f7..e4fa5549fe 100644 --- a/Core/MIPS/MIPS.cpp +++ b/Core/MIPS/MIPS.cpp @@ -53,7 +53,11 @@ MIPSState::~MIPSState() void MIPSState::Reset() { if (MIPSComp::jit) + { delete MIPSComp::jit; + MIPSComp::jit = 0; + } + if (PSP_CoreParameter().cpuCore == CPU_JIT) MIPSComp::jit = new MIPSComp::Jit(this);