diff options
author | bunnei <bunneidev@gmail.com> | 2016-12-17 07:20:47 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2016-12-22 05:48:14 +0100 |
commit | 5ac5cbeab7387b2eabd4618291e223fd7189bb8b (patch) | |
tree | e035f870b86f930876a5ced2c1e2be9f6a087a91 /src/core/core.cpp | |
parent | core: Remove HLE module, consolidate code & various cleanups. (diff) | |
download | yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.gz yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.bz2 yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.lz yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.xz yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.tar.zst yuzu-5ac5cbeab7387b2eabd4618291e223fd7189bb8b.zip |
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 67d7cf7b2..fabd3f42a 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -78,20 +78,20 @@ System::ResultStatus System::Load(EmuWindow* emu_window, const std::string& file return ResultStatus::ErrorGetLoader; } - boost::optional<u32> system_mode{ app_loader->LoadKernelSystemMode() }; + boost::optional<u32> system_mode{app_loader->LoadKernelSystemMode()}; if (!system_mode) { LOG_CRITICAL(Core, "Failed to determine system mode!"); return ResultStatus::ErrorSystemMode; } - ResultStatus init_result{ Init(emu_window, system_mode.get()) }; + ResultStatus init_result{Init(emu_window, system_mode.get())}; if (init_result != ResultStatus::Success) { LOG_CRITICAL(Core, "Failed to initialize system (Error %i)!", init_result); System::Shutdown(); return init_result; } - const Loader::ResultStatus load_result{ app_loader->Load() }; + const Loader::ResultStatus load_result{app_loader->Load()}; if (Loader::ResultStatus::Success != load_result) { LOG_CRITICAL(Core, "Failed to load ROM (Error %i)!", load_result); System::Shutdown(); |