summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFearlessTobi <thm.frey@gmail.com>2022-07-07 16:54:20 +0200
committerFearlessTobi <thm.frey@gmail.com>2022-07-25 21:59:30 +0200
commit7fbd2916a17763b93a8401ba0d560000d56b48cf (patch)
tree12b81113f8fb7c10f6de5fd05c949ed6014a257e /src/core
parentcommon, core: fix -Wmissing-field-initializers (diff)
downloadyuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.tar
yuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.tar.gz
yuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.tar.bz2
yuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.tar.lz
yuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.tar.xz
yuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.tar.zst
yuzu-7fbd2916a17763b93a8401ba0d560000d56b48cf.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/core.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/core.cpp b/src/core/core.cpp
index 5df32c1e7..98fe6d39c 100644
--- a/src/core/core.cpp
+++ b/src/core/core.cpp
@@ -317,7 +317,9 @@ struct System::Impl {
perf_stats->BeginSystemFrame();
std::string name = "Unknown Game";
- const Loader::ResultStatus res{app_loader->ReadTitle(name)};
+ if (app_loader->ReadTitle(name) != Loader::ResultStatus::Success) {
+ LOG_ERROR(Core, "Failed to read title for ROM (Error {})", load_result);
+ }
if (auto room_member = Network::GetRoomMember().lock()) {
Network::GameInfo game_info;
game_info.name = name;