mirror of
https://github.com/izzy2lost/WeeU.git
synced 2026-07-06 00:19:59 -07:00
coreinit: Fix race condition in __FSAIoctlResponseCallback
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user