mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Attempt to address some auto-reported crashes on Android
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
This commit is contained in:
1 parent
a0cff13efa
commit
ee4261cf5c
3 files changed
+11
-5
No files matched your search
+3
-3
@@ -124,7 +124,6 @@ void hleCheat(u64 userdata, int cyclesLate) {
|
||||
}
|
||||
|
||||
CWCheatEngine::CWCheatEngine() {
|
||||
|
||||
}
|
||||
|
||||
void CWCheatEngine::Exit() {
|
||||
@@ -139,7 +138,7 @@ static inline std::vector<std::string> makeCodeParts(const std::vector<std::stri
|
||||
char empty = ' ';
|
||||
for (size_t i = 0; i < CodesList.size(); i++) {
|
||||
currentcode = CodesList[i];
|
||||
for (size_t j=0; j < currentcode.length(); j++) {
|
||||
for (size_t j = 0; j < currentcode.length(); j++) {
|
||||
if (currentcode[j] == empty) {
|
||||
currentcode[j] = '\n';
|
||||
}
|
||||
@@ -201,7 +200,8 @@ std::vector<int> CWCheatEngine::GetNextCode() { // Feeds a size-2 vector of ints
|
||||
std::vector<int> finalCode;
|
||||
std::string modifier2 = "0";
|
||||
while (true) {
|
||||
if (currentCode >= parts.size()) {
|
||||
// Shouldn't splitCode be cleared here? Otherwise var1 and var2 will always be set to the first two codes.. I don't get it
|
||||
if (currentCode >= parts.size() - 1) {
|
||||
code1.clear();
|
||||
code2.clear();
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user