summaryrefslogtreecommitdiff
path: root/src/core/system.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-04-10 22:45:40 -0400
committerGravatar bunnei2014-04-10 22:45:40 -0400
commit5d95bb98434b8e7cd67010f6064ccdb69c1222bb (patch)
tree5d4c4f1b10d37e2619322a7f837883d61b1d2865 /src/core/system.cpp
parentadded logger for generic HLE (diff)
downloadyuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.gz
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.tar.xz
yuzu-5d95bb98434b8e7cd67010f6064ccdb69c1222bb.zip
cleaned up some logging messages
Diffstat (limited to 'src/core/system.cpp')
-rw-r--r--src/core/system.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/core/system.cpp b/src/core/system.cpp
index edb07fef5..c77092327 100644
--- a/src/core/system.cpp
+++ b/src/core/system.cpp
@@ -7,6 +7,7 @@
7#include "core/mem_map.h" 7#include "core/mem_map.h"
8#include "core/system.h" 8#include "core/system.h"
9#include "core/hw/hw.h" 9#include "core/hw/hw.h"
10#include "core/hle/hle.h"
10 11
11#include "video_core/video_core.h" 12#include "video_core/video_core.h"
12 13
@@ -19,15 +20,16 @@ void UpdateState(State state) {
19} 20}
20 21
21void Init(EmuWindow* emu_window) { 22void Init(EmuWindow* emu_window) {
22 Core::Init(); 23 Core::Init();
23 Memory::Init(); 24 Memory::Init();
24 HW::Init(); 25 HW::Init();
25 CoreTiming::Init(); 26 HLE::Init();
27 CoreTiming::Init();
26 VideoCore::Init(emu_window); 28 VideoCore::Init(emu_window);
27} 29}
28 30
29void RunLoopFor(int cycles) { 31void RunLoopFor(int cycles) {
30 RunLoopUntil(CoreTiming::GetTicks() + cycles); 32 RunLoopUntil(CoreTiming::GetTicks() + cycles);
31} 33}
32 34
33void RunLoopUntil(u64 global_cycles) { 35void RunLoopUntil(u64 global_cycles) {
@@ -35,9 +37,12 @@ void RunLoopUntil(u64 global_cycles) {
35 37
36void Shutdown() { 38void Shutdown() {
37 Core::Shutdown(); 39 Core::Shutdown();
40 Memory::Shutdown();
38 HW::Shutdown(); 41 HW::Shutdown();
42 HLE::Shutdown();
43 CoreTiming::Shutdown();
39 VideoCore::Shutdown(); 44 VideoCore::Shutdown();
40 g_ctr_file_system.Shutdown(); 45 g_ctr_file_system.Shutdown();
41} 46}
42 47
43} // namespace 48} // namespace