mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-05 07:45:01 -06:00
Core: Fix game arguments (#4118)
* Fix game arguments. Tested with Crash Team Racing Nitro Fueled * Fix the fix This callback runs unconditionally, so only perform erase if we actually place anything in gameArgs
This commit is contained in:
parent
ac3786f533
commit
c8b3d63e7e
@ -99,6 +99,7 @@ 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());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user