mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-04 15:05:02 -06:00
Merge branch 'shadps4-emu:main' into fix/windows-condvar-stale-wake-guard
This commit is contained in:
commit
73e1c1113e
@ -99,7 +99,6 @@ int main(int argc, char* argv[]) {
|
|||||||
const auto& extras = app.remaining();
|
const auto& extras = app.remaining();
|
||||||
if (!extras.empty()) {
|
if (!extras.empty()) {
|
||||||
gameArgs = extras;
|
gameArgs = extras;
|
||||||
gameArgs.erase(gameArgs.begin());
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -143,6 +142,14 @@ int main(int argc, char* argv[]) {
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (!gameArgs.empty()) {
|
||||||
|
if (gameArgs.front() == "--") {
|
||||||
|
gameArgs.erase(gameArgs.begin());
|
||||||
|
} else {
|
||||||
|
std::cerr << "Error: unhandled flags\n";
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// ---- Apply flags ----
|
// ---- Apply flags ----
|
||||||
if (patchFile)
|
if (patchFile)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user