Merge pull request #14481 from LunaMoo/fixCWCImportCrash

Fix UI import cheat crash if no cheat.db is present
This commit is contained in:
Unknown W. Brackets authored and GitHub committed 2021-05-24 14:35:45 -07:00
commit 7a28919ca7
1 file changed
+1
+1
View File
@@ -211,6 +211,7 @@ UI::EventReturn CwCheatScreen::OnImportCheat(UI::EventParams &params) {
if (!in) {
WARN_LOG(COMMON, "Unable to open %s\n", cheatFile.c_str());
return UI::EVENT_SKIPPED;
}
char linebuf[2048]{};