From aae3ccf58102ebcf10aaae117d57c5eee6a4ff56 Mon Sep 17 00:00:00 2001 From: hexkyz Date: Thu, 5 Feb 2026 21:37:17 +0000 Subject: [PATCH] Merge pull request #2726 from ndeadly/svc-shim-compat libstrat: update GetDebugEvent svc shim for compatibility with libnx changes --- .../include/stratosphere/svc/svc_stratosphere_shims.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/libstratosphere/include/stratosphere/svc/svc_stratosphere_shims.hpp b/libraries/libstratosphere/include/stratosphere/svc/svc_stratosphere_shims.hpp index d68a56f33..0502b1c19 100644 --- a/libraries/libstratosphere/include/stratosphere/svc/svc_stratosphere_shims.hpp +++ b/libraries/libstratosphere/include/stratosphere/svc/svc_stratosphere_shims.hpp @@ -388,7 +388,7 @@ } ALWAYS_INLINE Result GetDebugEvent(::ams::svc::UserPointer< ::ams::svc::lp64::DebugEventInfo *> out_info, ::ams::svc::Handle debug_handle) { - R_RETURN(::svcGetDebugEvent(out_info.GetPointerUnsafe(), debug_handle)); + R_RETURN(::svcGetDebugEvent(reinterpret_cast<::DebugEventInfo *>(out_info.GetPointerUnsafe()), debug_handle)); } ALWAYS_INLINE Result ContinueDebugEvent(::ams::svc::Handle debug_handle, uint32_t flags, ::ams::svc::UserPointer thread_ids, int32_t num_thread_ids) {