mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-03-02 11:08:27 +00:00
Oops:]
This commit is contained in:
parent
495b743f6f
commit
d5d82d4577
@ -229,7 +229,7 @@ UI::EventReturn CwCheatScreen::OnImportCheat(UI::EventParams ¶ms) {
|
||||
continue;
|
||||
}
|
||||
loop:;
|
||||
} while (fs.good() && line[0] != '_' && line[1] != 'S');
|
||||
} while (fs.good() && line[0] == '_' && line[1] != 'S');
|
||||
finished = true;
|
||||
}
|
||||
if (finished == true)
|
||||
@ -243,7 +243,7 @@ UI::EventReturn CwCheatScreen::OnImportCheat(UI::EventParams ¶ms) {
|
||||
File::OpenCPPFile(fs, activeCheatFile, std::ios::out | std::ios::app);
|
||||
|
||||
auto it = title.begin();
|
||||
if (title2[0] != '_' && title2[1] != 'S' && it != title.end() && (++it) != title.end()) {
|
||||
if (title2[0] == '_' && title2[1] != 'S' && it != title.end() && (++it) != title.end()) {
|
||||
fs << title[0] << "\n" << title[1];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user