From 786adf0268b5746e848ee7b5333bc452c36b6103 Mon Sep 17 00:00:00 2001 From: TuxSH <1922548+TuxSH@users.noreply.github.com> Date: Wed, 15 Jul 2020 00:56:25 +0100 Subject: [PATCH] k11ext: fix oops --- k11_extension/source/svc/KernelSetState.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k11_extension/source/svc/KernelSetState.c b/k11_extension/source/svc/KernelSetState.c index aeb6372..629a983 100644 --- a/k11_extension/source/svc/KernelSetState.c +++ b/k11_extension/source/svc/KernelSetState.c @@ -106,7 +106,7 @@ Result KernelSetStateHook(u32 type, u32 varg1, u32 varg2, u32 varg3) while(__strex((s32 *)&rosalinaState, (s32)(rosalinaState ^ varg1))); __dmb(); - if(rosalinaState & 2) + if(rosalinaState & 0x10) hasStartedRosalinaNetworkFuncsOnce = true; // 1: all applet/app/dsp/csnd... threads 2: gsp 4: hid/ir