mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-22 03:15:01 +00:00
hot fix : always check if eboot.bin is available in path
This commit is contained in:
parent
38a13832b3
commit
26cca79582
2 changed files with 18 additions and 0 deletions
|
@ -10,6 +10,11 @@ int main(int argc, char* argv[]) {
|
|||
fmt::print("Usage: {} <elf or eboot.bin path>\n", argv[0]);
|
||||
return -1;
|
||||
}
|
||||
// check if eboot file exists
|
||||
if (!std::filesystem::exists(argv[1])) {
|
||||
fmt::print("Eboot.bin file not found\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
for (int i = 0; i < argc; i++) {
|
||||
std::string curArg = argv[i];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue