summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/hle.h')
-rw-r--r--src/core/hle/hle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h
index d02948be3..628a1da89 100644
--- a/src/core/hle/hle.h
+++ b/src/core/hle/hle.h
@@ -10,6 +10,7 @@
////////////////////////////////////////////////////////////////////////////////////////////////////
#define PARAM(n) Core::g_app_core->GetReg(n)
+#define PARAM64(n) (Core::g_app_core->GetReg(n) | ((u64)Core::g_app_core->GetReg(n + 1) << 32))
#define RETURN(n) Core::g_app_core->SetReg(0, n)
////////////////////////////////////////////////////////////////////////////////////////////////////