From 83ebad11292f809546a7f5888b7af4b0f5fe80c7 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Mon, 25 Mar 2024 23:15:22 +1000 Subject: [PATCH] System: Leave title empty when booting physical audio CDs --- src/core/system.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index d95ab38cb..c683a531c 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -3360,7 +3360,8 @@ void System::UpdateRunningGame(const char* path, CDImage* image, bool booting) // TODO: We could pull the title from the PSF. s_running_game_title = Path::GetFileTitle(path); } - else if (image) + // Check for an audio CD. Those shouldn't set any title. + else if (image && image->GetTrack(1).mode != CDImage::TrackMode::Audio) { std::string id; GetGameDetailsFromImage(image, &id, &s_running_game_hash);