initialize VideoCore

This commit is contained in:
bunnei 2014-04-06 16:55:54 -04:00
parent 080f847550
commit 551b2a52e0

View file

@ -27,6 +27,7 @@
#include "core_timing.h" #include "core_timing.h"
#include "mem_map.h" #include "mem_map.h"
#include "system.h" #include "system.h"
#include "video_core.h"
namespace System { namespace System {
@ -41,6 +42,7 @@ void Init(EmuWindow* emu_window) {
Memory::Init(); Memory::Init();
HW::Init(); HW::Init();
CoreTiming::Init(); CoreTiming::Init();
VideoCore::Init(emu_window);
} }
void RunLoopFor(int cycles) { void RunLoopFor(int cycles) {
@ -53,9 +55,8 @@ void RunLoopUntil(u64 global_cycles) {
void Shutdown() { void Shutdown() {
Core::Shutdown(); Core::Shutdown();
HW::Shutdown(); HW::Shutdown();
VideoCore::Shutdown();
g_ctr_file_system.Shutdown(); g_ctr_file_system.Shutdown();
} }
} // namespace } // namespace