diff options
| -rw-r--r-- | src/core/src/system.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/src/system.cpp b/src/core/src/system.cpp index 1477bab32..7c829d609 100644 --- a/src/core/src/system.cpp +++ b/src/core/src/system.cpp | |||
| @@ -27,6 +27,7 @@ | |||
| 27 | #include "core_timing.h" | 27 | #include "core_timing.h" |
| 28 | #include "mem_map.h" | 28 | #include "mem_map.h" |
| 29 | #include "system.h" | 29 | #include "system.h" |
| 30 | #include "video_core.h" | ||
| 30 | 31 | ||
| 31 | namespace System { | 32 | namespace System { |
| 32 | 33 | ||
| @@ -41,6 +42,7 @@ void Init(EmuWindow* emu_window) { | |||
| 41 | Memory::Init(); | 42 | Memory::Init(); |
| 42 | HW::Init(); | 43 | HW::Init(); |
| 43 | CoreTiming::Init(); | 44 | CoreTiming::Init(); |
| 45 | VideoCore::Init(emu_window); | ||
| 44 | } | 46 | } |
| 45 | 47 | ||
| 46 | void RunLoopFor(int cycles) { | 48 | void RunLoopFor(int cycles) { |
| @@ -53,9 +55,8 @@ void RunLoopUntil(u64 global_cycles) { | |||
| 53 | void Shutdown() { | 55 | void Shutdown() { |
| 54 | Core::Shutdown(); | 56 | Core::Shutdown(); |
| 55 | HW::Shutdown(); | 57 | HW::Shutdown(); |
| 58 | VideoCore::Shutdown(); | ||
| 56 | g_ctr_file_system.Shutdown(); | 59 | g_ctr_file_system.Shutdown(); |
| 57 | } | 60 | } |
| 58 | 61 | ||
| 59 | |||
| 60 | |||
| 61 | } // namespace | 62 | } // namespace |