Print a message when a cheat code forces the JIT to reset.
This commit is contained in:
parent
bbb190a136
commit
dee24cdbc1
|
@ -1034,8 +1034,11 @@ void CHEATS::process(int targetType)
|
||||||
if(cheatsResetJit)
|
if(cheatsResetJit)
|
||||||
{
|
{
|
||||||
if(CommonSettings.use_jit)
|
if(CommonSettings.use_jit)
|
||||||
|
{
|
||||||
|
printf("Cheat code operation potentially not compatible with JIT operations. Resetting JIT...\n");
|
||||||
arm_jit_reset(true, true);
|
arm_jit_reset(true, true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue