Remove ast empty cheat from list

This commit is contained in:
Duckbill 2017-12-25 14:16:57 +03:00
parent 1b440f7f3b
commit cb945612a3

View File

@ -913,6 +913,10 @@ void Cheat_loadCheatsIntoMemory(u64 titleId) {
}
}
} while (R_SUCCEEDED(res));
if ((cheatCount > 0) && (cheats[cheatCount - 1]->codesCount == 0)) {
cheatCount--; // Remove last empty cheat
}
}
void loadCheatsIntoMemoryBin(u64 titleId) {