diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-09 06:58:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-09 06:58:13 +0100 |
commit | 6f41763061082d5fa2ab039c554427152243cb46 (patch) | |
tree | 158dde17ce9426c21c727f03a6e8651b09a2dade /src/core/core.cpp | |
parent | Merge pull request #5135 from Morph1984/applets-shadow (diff) | |
parent | core: Remove unnecessary enum casts in log calls (diff) | |
download | yuzu-6f41763061082d5fa2ab039c554427152243cb46.tar yuzu-6f41763061082d5fa2ab039c554427152243cb46.tar.gz yuzu-6f41763061082d5fa2ab039c554427152243cb46.tar.bz2 yuzu-6f41763061082d5fa2ab039c554427152243cb46.tar.lz yuzu-6f41763061082d5fa2ab039c554427152243cb46.tar.xz yuzu-6f41763061082d5fa2ab039c554427152243cb46.tar.zst yuzu-6f41763061082d5fa2ab039c554427152243cb46.zip |
Diffstat (limited to 'src/core/core.cpp')
-rw-r--r-- | src/core/core.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp index 01e4faac8..7e3c54618 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -237,7 +237,7 @@ struct System::Impl { Kernel::Process::Create(system, "main", Kernel::Process::ProcessType::Userland); const auto [load_result, load_parameters] = app_loader->Load(*main_process, system); if (load_result != Loader::ResultStatus::Success) { - LOG_CRITICAL(Core, "Failed to load ROM (Error {})!", static_cast<int>(load_result)); + LOG_CRITICAL(Core, "Failed to load ROM (Error {})!", load_result); Shutdown(); return static_cast<ResultStatus>(static_cast<u32>(ResultStatus::ErrorLoader) + @@ -267,8 +267,7 @@ struct System::Impl { u64 title_id{0}; if (app_loader->ReadProgramId(title_id) != Loader::ResultStatus::Success) { - LOG_ERROR(Core, "Failed to find title id for ROM (Error {})", - static_cast<u32>(load_result)); + LOG_ERROR(Core, "Failed to find title id for ROM (Error {})", load_result); } perf_stats = std::make_unique<PerfStats>(title_id); // Reset counters and set time origin to current frame |