From 551b2a52e0c36613a3ce459dcd8b2aac39de707b Mon Sep 17 00:00:00 2001
From: bunnei <ericbunnie@gmail.com>
Date: Sun, 6 Apr 2014 16:55:54 -0400
Subject: [PATCH] initialize VideoCore

---
 src/core/src/system.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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