mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-23 16:15:35 +00:00
initialize VideoCore
This commit is contained in:
parent
080f847550
commit
551b2a52e0
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue