mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-16 12:08:52 +00:00
coreinit: Fix race condition in __FSAIoctlResponseCallback
This commit is contained in:
parent
28ea70b6d8
commit
783d88a892
@ -742,7 +742,8 @@ namespace coreinit
|
|||||||
}
|
}
|
||||||
|
|
||||||
__FSCmdSubmitResult(cmd, fsStatus);
|
__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);
|
osLib_returnFromFunction(hCPU, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user