mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-28 00:33:34 +01:00
Loaders: Avoid fileToStart compare with "".
This commit is contained in:
1 parent
a40bb2eaa1
commit
ac68dac029
2 files changed
+6
-6
No files matched your search
+3
-3
@@ -328,7 +328,7 @@ bool Load_PSP_ISO(FileLoader *fileLoader, std::string *error_string) {
|
||||
} else {
|
||||
coreState = CORE_BOOT_ERROR;
|
||||
// TODO: This is a crummy way to communicate the error...
|
||||
PSP_CoreParameter().fileToStart = "";
|
||||
PSP_CoreParameter().fileToStart.clear();
|
||||
}
|
||||
});
|
||||
return true;
|
||||
@@ -461,7 +461,7 @@ bool Load_PSP_ELF_PBP(FileLoader *fileLoader, std::string *error_string) {
|
||||
} else {
|
||||
coreState = CORE_BOOT_ERROR;
|
||||
// TODO: This is a crummy way to communicate the error...
|
||||
PSP_CoreParameter().fileToStart = "";
|
||||
PSP_CoreParameter().fileToStart.clear();
|
||||
}
|
||||
});
|
||||
return true;
|
||||
@@ -485,7 +485,7 @@ bool Load_PSP_GE_Dump(FileLoader *fileLoader, std::string *error_string) {
|
||||
} else {
|
||||
coreState = CORE_BOOT_ERROR;
|
||||
// TODO: This is a crummy way to communicate the error...
|
||||
PSP_CoreParameter().fileToStart = "";
|
||||
PSP_CoreParameter().fileToStart.clear();
|
||||
}
|
||||
});
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user