skip empty cheats

This commit is contained in:
Brad Parker 2017-11-12 23:18:11 -05:00
parent e9acbbdf9e
commit 40a8388c29
1 changed files with 2 additions and 1 deletions

View File

@ -97,6 +97,7 @@ void cheat_manager_apply_cheats(void)
cheat_info.enabled = true;
cheat_info.code = handle->cheats[i].code;
if (!string_is_empty(cheat_info.code))
core_set_cheat(&cheat_info);
}
}