summaryrefslogtreecommitdiff
path: root/src/core/hle/hle.h
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-06 01:57:23 -0300
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-05-06 23:45:05 -0300
commitc916bcf7b53bb7d0e909e7ec45b0740a09a661b6 (patch)
tree3369fdbae3bc36fb05d38c1da03a176905193db4 /src/core/hle/hle.h
parent6ad71c216b2d1112c96d621140c60b4e1b359811 (diff)
Move typedefs from kernel.h to more appropriate places
Diffstat (limited to 'src/core/hle/hle.h')
-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 23de1aab7..e0b97797c 100644
--- a/src/core/hle/hle.h
+++ b/src/core/hle/hle.h
@@ -4,6 +4,13 @@
#pragma once
+#include "common/common_types.h"
+
+typedef u32 Handle;
+typedef s32 Result;
+
+const Handle INVALID_HANDLE = 0;
+
namespace HLE {
extern bool g_reschedule; ///< If true, immediately reschedules the CPU to a new thread