diff options
| author | 2014-04-06 16:55:54 -0400 | |
|---|---|---|
| committer | 2014-04-06 16:55:54 -0400 | |
| commit | 551b2a52e0c36613a3ce459dcd8b2aac39de707b (patch) | |
| tree | 6d6b4e9263fdebef7cfa308380bb1bafcb6faede /src/core | |
| parent | added initial renderer code (diff) | |
| download | yuzu-551b2a52e0c36613a3ce459dcd8b2aac39de707b.tar.gz yuzu-551b2a52e0c36613a3ce459dcd8b2aac39de707b.tar.xz yuzu-551b2a52e0c36613a3ce459dcd8b2aac39de707b.zip | |
initialize VideoCore
Diffstat (limited to 'src/core')
| -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 |