k11ext: fix oops

This commit is contained in:
TuxSH 2020-07-15 00:56:25 +01:00
parent 2af05220c2
commit 786adf0268

View File

@ -106,7 +106,7 @@ Result KernelSetStateHook(u32 type, u32 varg1, u32 varg2, u32 varg3)
while(__strex((s32 *)&rosalinaState, (s32)(rosalinaState ^ varg1))); while(__strex((s32 *)&rosalinaState, (s32)(rosalinaState ^ varg1)));
__dmb(); __dmb();
if(rosalinaState & 2) if(rosalinaState & 0x10)
hasStartedRosalinaNetworkFuncsOnce = true; hasStartedRosalinaNetworkFuncsOnce = true;
// 1: all applet/app/dsp/csnd... threads 2: gsp 4: hid/ir // 1: all applet/app/dsp/csnd... threads 2: gsp 4: hid/ir