diff options
author | bunnei <ericbunnie@gmail.com> | 2014-05-17 19:35:20 +0200 |
---|---|---|
committer | bunnei <ericbunnie@gmail.com> | 2014-05-17 19:35:20 +0200 |
commit | 3fac6dc39e6e94aa068d93535261eede97224e50 (patch) | |
tree | 41b5a266814d633b94d090f13bc46c89e8f7f622 /src/citra | |
parent | - added enum ThreadProcessorId (diff) | |
parent | updated how we call ARM core to make things much faster (diff) | |
download | yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.gz yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.bz2 yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.lz yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.xz yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.tar.zst yuzu-3fac6dc39e6e94aa068d93535261eede97224e50.zip |
Diffstat (limited to 'src/citra')
-rw-r--r-- | src/citra/citra.cpp | 12 |
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 @@ int __cdecl main(int argc, char **argv) { std::string program_dir = File::GetCurrentDir(); - LogManager::Init(); + LogManager::Init(); EmuWindow_GLFW* emu_window = new EmuWindow_GLFW; - System::Init(emu_window); + System::Init(emu_window); std::string boot_filename = "homebrew.elf"; std::string error_str; - + bool res = Loader::LoadFile(boot_filename, &error_str); if (!res) { ERROR_LOG(BOOT, "Failed to load ROM: %s", error_str.c_str()); } - for (;;) { - Core::SingleStep(); - } + Core::RunLoop(); delete emu_window; - return 0; + return 0; } |