Loaders: Avoid fileToStart compare with "".

This commit is contained in:
Henrik Rydgård authored and Unknown W. Brackets committed 2021-05-09 17:38:39 -07:00
1 parent a40bb2eaa1
commit ac68dac029
2 files changed
+6 -6

No files matched your search

+3 -3
View File
@@ -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;