Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

svc: added missing function wrapper for SleepThread

bunnei2f55c9e55bb8
diff --git a/src/core/hle/function_wrappers.h b/src/core/hle/function_wrappers.h
index 43f0d15e04..7eb62fc48b 100644
--- a/src/core/hle/function_wrappers.h
+++ b/src/core/hle/function_wrappers.h
@@ -642,6 +642,10 @@ template<void func(const char*)> void WrapV_C() {
func(Memory::GetCharPointer(PARAM(0)));
}
+template<void func(s64)> void WrapV_S64() {
+ func(((s64)PARAM(1) << 32) | PARAM(0));
+}
+
template<void func(const char *, int)> void WrapV_CI() {
func(Memory::GetCharPointer(PARAM(0)), PARAM(1));
}