summaryrefslogtreecommitdiff
path: root/src/citra/citra.cpp
diff options
context:
space:
mode:
authorGravatar bunnei2014-05-17 13:35:20 -0400
committerGravatar bunnei2014-05-17 13:35:20 -0400
commit3fac6dc39e6e94aa068d93535261eede97224e50 (patch)
tree41b5a266814d633b94d090f13bc46c89e8f7f622 /src/citra/citra.cpp
parent- added enum ThreadProcessorId (diff)
parentupdated how we call ARM core to make things much faster (diff)
downloadyuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.gz
yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.xz
yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.zip
Merge branch 'master' into threading
Diffstat (limited to 'src/citra/citra.cpp')
-rw-r--r--src/citra/citra.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/citra/citra.cpp b/src/citra/citra.cpp
index d55b97393..6f3bc6f84 100644
--- a/src/citra/citra.cpp
+++ b/src/citra/citra.cpp
@@ -18,26 +18,24 @@
18int __cdecl main(int argc, char **argv) { 18int __cdecl main(int argc, char **argv) {
19 std::string program_dir = File::GetCurrentDir(); 19 std::string program_dir = File::GetCurrentDir();
20 20
21 LogManager::Init(); 21 LogManager::Init();
22 22
23 EmuWindow_GLFW* emu_window = new EmuWindow_GLFW; 23 EmuWindow_GLFW* emu_window = new EmuWindow_GLFW;
24 24
25 System::Init(emu_window); 25 System::Init(emu_window);
26 26
27 std::string boot_filename = "homebrew.elf"; 27 std::string boot_filename = "homebrew.elf";
28 std::string error_str; 28 std::string error_str;
29 29
30 bool res = Loader::LoadFile(boot_filename, &error_str); 30 bool res = Loader::LoadFile(boot_filename, &error_str);
31 31
32 if (!res) { 32 if (!res) {
33 ERROR_LOG(BOOT, "Failed to load ROM: %s", error_str.c_str()); 33 ERROR_LOG(BOOT, "Failed to load ROM: %s", error_str.c_str());
34 } 34 }
35 35
36 for (;;) { 36 Core::RunLoop();
37 Core::SingleStep();
38 }
39 37
40 delete emu_window; 38 delete emu_window;
41 39
42 return 0; 40 return 0;
43} 41}