From 37fdcb57263239907895d519c7ce4bedb186bf3c Mon Sep 17 00:00:00 2001 From: Robin Lambertz Date: Fri, 9 Aug 2019 11:03:59 +0200 Subject: [PATCH] svcGetInfo id0 should be an u32 svcGetInfo uses an u32 for id0 in the kernel (which moves W1 and not X1). --- nx/include/switch/kernel/svc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index 7dac82b0..51fcaeaa 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -593,7 +593,7 @@ void NORETURN svcReturnFromException(Result res); * @remark The full list of property IDs can be found on the switchbrew.org wiki. * @note Syscall number 0x29. */ -Result svcGetInfo(u64* out, u64 id0, Handle handle, u64 id1); +Result svcGetInfo(u64* out, u32 id0, Handle handle, u64 id1); ///@}