summaryrefslogtreecommitdiffstats
path: root/src/core/hle/hle.h
diff options
context:
space:
mode:
authorbunnei <ericbunnie@gmail.com>2014-04-13 03:55:36 +0200
committerbunnei <ericbunnie@gmail.com>2014-04-13 03:55:36 +0200
commit68e198476f17a026fed88f3c9a271aa768694354 (patch)
treec8b368e45afd8fd70c69ce7be7e28879eda8d8aa /src/core/hle/hle.h
parenthacked CPU interpreter to ignore branch on SVC instruction (as we are HLEing this...) (diff)
downloadyuzu-68e198476f17a026fed88f3c9a271aa768694354.tar
yuzu-68e198476f17a026fed88f3c9a271aa768694354.tar.gz
yuzu-68e198476f17a026fed88f3c9a271aa768694354.tar.bz2
yuzu-68e198476f17a026fed88f3c9a271aa768694354.tar.lz
yuzu-68e198476f17a026fed88f3c9a271aa768694354.tar.xz
yuzu-68e198476f17a026fed88f3c9a271aa768694354.tar.zst
yuzu-68e198476f17a026fed88f3c9a271aa768694354.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/hle.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h
index 9466be540..2bd1f99a2 100644
--- a/src/core/hle/hle.h
+++ b/src/core/hle/hle.h
@@ -16,6 +16,11 @@
namespace HLE {
+enum {
+ OS_THREAD_COMMAND_BUFFER_ADDR = 0xA0004000,
+};
+
+typedef u32 Addr;
typedef void (*Func)();
struct FunctionDef {
@@ -34,6 +39,8 @@ void RegisterModule(std::string name, int num_functions, const FunctionDef *func
void CallSyscall(u32 opcode);
+Addr CallGetThreadCommandBuffer();
+
void Init();
void Shutdown();