Merge pull request #5660 from FearlessTobi/port-5166

Port yuzu-emu/yuzu#5166: "core: Remove unnecessary enum casts in log calls"
This commit is contained in:
Marshall Mohror 2021-02-03 10:19:38 -06:00 committed by GitHub
commit 2539215f18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
36 changed files with 136 additions and 162 deletions

View file

@ -290,7 +290,7 @@ System::ResultStatus System::Load(Frontend::EmuWindow& emu_window, const std::st
const Loader::ResultStatus load_result{app_loader->Load(process)};
kernel->SetCurrentProcess(process);
if (Loader::ResultStatus::Success != load_result) {
LOG_CRITICAL(Core, "Failed to load ROM (Error {})!", static_cast<u32>(load_result));
LOG_CRITICAL(Core, "Failed to load ROM (Error {})!", load_result);
System::Shutdown();
switch (load_result) {