Remove ast empty cheat from list
This commit is contained in:
parent
1b440f7f3b
commit
cb945612a3
@ -913,6 +913,10 @@ void Cheat_loadCheatsIntoMemory(u64 titleId) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} while (R_SUCCEEDED(res));
|
} while (R_SUCCEEDED(res));
|
||||||
|
|
||||||
|
if ((cheatCount > 0) && (cheats[cheatCount - 1]->codesCount == 0)) {
|
||||||
|
cheatCount--; // Remove last empty cheat
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void loadCheatsIntoMemoryBin(u64 titleId) {
|
void loadCheatsIntoMemoryBin(u64 titleId) {
|
||||||
|
Reference in New Issue
Block a user