mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-25 01:00:01 +00:00
Add a check to an if-statement in CwCheat.cpp in function hleCheat.
Check if cheatEngine isn't null. Considering how the if-statement below it has this check, it should be placed in this one as well.
This commit is contained in:
parent
ee164a3977
commit
d06bb0c755
@ -58,7 +58,7 @@ void __CheatShutdown() {
|
||||
void hleCheat(u64 userdata, int cyclesLate) {
|
||||
CoreTiming::ScheduleEvent(msToCycles(77), CheatEvent, 0);
|
||||
|
||||
if (g_Config.bReloadCheats == true) { //Checks if the "reload cheats" button has been pressed.
|
||||
if (g_Config.bReloadCheats == true && cheatEngine) { //Checks if the "reload cheats" button has been pressed.
|
||||
cheatEngine->CreateCodeList();
|
||||
g_Config.bReloadCheats = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user