diff options
author | bunnei <ericbunnie@gmail.com> | 2014-04-11 03:30:00 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-04-11 03:30:00 +0200 |
commit | 2a7d7ce55d51a1cf893d14e893b87941df4a2f03 (patch) | |
tree | d9e4d6d2dfe28d0ddc32de6775d79ef002eea62e /src/core/hle/hle.h | |
parent | Merge branch 'master' into hle-interface (diff) | |
download | yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.gz yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.bz2 yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.lz yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.xz yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.tar.zst yuzu-2a7d7ce55d51a1cf893d14e893b87941df4a2f03.zip |
Diffstat (limited to 'src/core/hle/hle.h')
-rw-r--r-- | src/core/hle/hle.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/core/hle/hle.h b/src/core/hle/hle.h index 6780b52c4..6648c787f 100644 --- a/src/core/hle/hle.h +++ b/src/core/hle/hle.h @@ -10,13 +10,11 @@ //////////////////////////////////////////////////////////////////////////////////////////////////// typedef void (*HLEFunc)(); -typedef void (*SysCallFunc)(); struct HLEFunction { u32 id; HLEFunc func; const char* name; - u32 flags; }; struct HLEModule { @@ -25,11 +23,15 @@ struct HLEModule { const HLEFunction* func_table; }; -struct SysCall { - u8 id; - SysCallFunc func; - const char* name; -}; - #define PARAM(n) Core::g_app_core->GetReg(n) #define RETURN(n) Core::g_app_core->SetReg(0, n) + +namespace HLE { + +void Init(); + +void Shutdown(); + +void RegisterModule(const char *name, int num_functions, const HLEFunction *func_table); + +} // namespace |