summaryrefslogtreecommitdiff
path: root/src/core/system.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-08 22:20:42 -0500
committerbunnei <bunneidev@gmail.com>2015-01-08 22:20:42 -0500
commit97cfdd16e637edceb08c81f446964bb9f52330b9 (patch)
tree2eb72bb96e65660201520327c138485917f63c07 /src/core/system.cpp
parent0d0d6ef31a8a347a3660c5ff64639e6a9a65b331 (diff)
parent40c1439c34105300594abb4fad7ff3d1758bb221 (diff)
Merge pull request #451 from Subv/wut
Core: Fixed a crash and removed some unused variables.
Diffstat (limited to 'src/core/system.cpp')
-rw-r--r--src/core/system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/system.cpp b/src/core/system.cpp
index d6188f055..f4c2df1cd 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -21,11 +21,11 @@ void UpdateState(State state) {
void Init(EmuWindow* emu_window) {
Core::Init();
+ CoreTiming::Init();
Memory::Init();
HW::Init();
Kernel::Init();
HLE::Init();
- CoreTiming::Init();
VideoCore::Init(emu_window);
}
@@ -38,11 +38,11 @@ void RunLoopUntil(u64 global_cycles) {
void Shutdown() {
VideoCore::Shutdown();
- CoreTiming::Shutdown();
HLE::Shutdown();
Kernel::Shutdown();
HW::Shutdown();
Memory::Shutdown();
+ CoreTiming::Shutdown();
Core::Shutdown();
}