mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-02 04:51:19 +12:00
coreinit: Fix race condition in __FSAIoctlResponseCallback
This commit is contained in:
parent
28ea70b6d8
commit
783d88a892
1 changed files with 2 additions and 1 deletions
|
@ -742,7 +742,8 @@ namespace coreinit
|
|||
}
|
||||
|
||||
__FSCmdSubmitResult(cmd, fsStatus);
|
||||
__FSUpdateQueue(&cmd->fsClientBody->fsCmdQueue);
|
||||
// dont read from cmd after this point, since the game could already have modified it
|
||||
__FSUpdateQueue(&client->fsCmdQueue);
|
||||
osLib_returnFromFunction(hCPU, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue