diff options
author | Mathieu Vaillancourt <vaillancourtm@gmail.com> | 2014-04-04 03:22:13 +0200 |
---|---|---|
committer | Mathieu Vaillancourt <vaillancourtm@gmail.com> | 2014-04-04 03:25:39 +0200 |
commit | 564e3f5032b072204f05e2b13604d9486fa52b2f (patch) | |
tree | b904634ec65719170fdc0b6633d0bfc0f0d8b319 /src/core | |
parent | removed some useless log messages (diff) | |
download | yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.tar yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.tar.gz yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.tar.bz2 yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.tar.lz yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.tar.xz yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.tar.zst yuzu-564e3f5032b072204f05e2b13604d9486fa52b2f.zip |
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/src/core.cpp | 5 | ||||
-rw-r--r-- | src/core/src/core.h | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/core/src/core.cpp b/src/core/src/core.cpp index 523b860f6..800a2a3fb 100644 --- a/src/core/src/core.cpp +++ b/src/core/src/core.cpp @@ -143,6 +143,11 @@ int Init() { return 0; } +ARMul_State* GetState() +{ + return core->state; +} + void Shutdown() { //delete g_arm_state; //g_arm_state = NULL; diff --git a/src/core/src/core.h b/src/core/src/core.h index 8021b762e..f4a3ca05d 100644 --- a/src/core/src/core.h +++ b/src/core/src/core.h @@ -25,6 +25,8 @@ #ifndef CORE_CORE_H_ #define CORE_CORE_H_ +#include "arm/armdefs.h" + //////////////////////////////////////////////////////////////////////////////////////////////////// namespace Core { @@ -47,6 +49,8 @@ void Stop(); /// Initialize the core int Init(); +ARMul_State* GetState(); + } // namespace //////////////////////////////////////////////////////////////////////////////////////////////////// |