From f9550ff6a3956288dbf6e7cde0d90e025ffd3e00 Mon Sep 17 00:00:00 2001 From: camthehaxman Date: Fri, 19 Jan 2024 08:42:34 -0600 Subject: [PATCH] don't error if LightEvent_WaitTimeout times out --- src/Platform_3DS.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Platform_3DS.c b/src/Platform_3DS.c index 478564704..d5c4ab7b4 100644 --- a/src/Platform_3DS.c +++ b/src/Platform_3DS.c @@ -277,8 +277,7 @@ void Waitable_Wait(void* handle) { void Waitable_WaitFor(void* handle, cc_uint32 milliseconds) { s64 timeout_ns = milliseconds * (1000 * 1000); // milliseconds to nanoseconds - int res = LightEvent_WaitTimeout((LightEvent*)handle, timeout_ns); - if (res) Logger_Abort2(res, "Waiting timed event"); + LightEvent_WaitTimeout((LightEvent*)handle, timeout_ns); } @@ -462,4 +461,4 @@ static cc_result GetMachineID(cc_uint32* key) { psInit(); return PS_GetDeviceId(key); } -#endif \ No newline at end of file +#endif