Print a message when a cheat code forces the JIT to reset.

This commit is contained in:
SuuperW 2018-08-25 11:29:54 -05:00
parent bbb190a136
commit dee24cdbc1
1 changed files with 4 additions and 1 deletions

View File

@ -1034,7 +1034,10 @@ void CHEATS::process(int targetType)
if(cheatsResetJit) if(cheatsResetJit)
{ {
if(CommonSettings.use_jit) if(CommonSettings.use_jit)
arm_jit_reset(true,true); {
printf("Cheat code operation potentially not compatible with JIT operations. Resetting JIT...\n");
arm_jit_reset(true, true);
}
} }
#endif #endif
} }