skip empty cheats
This commit is contained in:
parent
e9acbbdf9e
commit
40a8388c29
|
@ -97,6 +97,7 @@ void cheat_manager_apply_cheats(void)
|
||||||
cheat_info.enabled = true;
|
cheat_info.enabled = true;
|
||||||
cheat_info.code = handle->cheats[i].code;
|
cheat_info.code = handle->cheats[i].code;
|
||||||
|
|
||||||
|
if (!string_is_empty(cheat_info.code))
|
||||||
core_set_cheat(&cheat_info);
|
core_set_cheat(&cheat_info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue