summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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;