mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-09 19:23:18 -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();
|
||||
if (!extras.empty()) {
|
||||
gameArgs = extras;
|
||||
gameArgs.erase(gameArgs.begin());
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user