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:
Rui Pinheiro 2018-09-03 18:28:18 +01:00 committed by Megamouse
parent 2e0ecb556c
commit 1175658bd5

View file

@ -58,8 +58,8 @@ s32 cellMicInit()
s32 cellMicEnd()
{
cellMic.trace("cellMicEnd()");
const auto micThread = fxm::withdraw<mic_thread>();
micInited = false;
const auto micThread = fxm::withdraw<mic_thread>();
if (!micThread)
return CELL_MIC_ERROR_NOT_INIT;