Fix cellMic regression from #4467
cellMicEnd would get stuck waiting for the cellMic thread to finish, but it never does because micInited is still true. Fixes Resistance: Fall of Mankind getting stuck after the menu
This commit is contained in:
@@ -58,8 +58,8 @@ s32 cellMicInit()
|
|||||||
s32 cellMicEnd()
|
s32 cellMicEnd()
|
||||||
{
|
{
|
||||||
cellMic.trace("cellMicEnd()");
|
cellMic.trace("cellMicEnd()");
|
||||||
const auto micThread = fxm::withdraw<mic_thread>();
|
|
||||||
micInited = false;
|
micInited = false;
|
||||||
|
const auto micThread = fxm::withdraw<mic_thread>();
|
||||||
if (!micThread)
|
if (!micThread)
|
||||||
return CELL_MIC_ERROR_NOT_INIT;
|
return CELL_MIC_ERROR_NOT_INIT;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user