System: Leave title empty when booting physical audio CDs
This commit is contained in:
parent
7b8704aba1
commit
83ebad1129
|
@ -3360,7 +3360,8 @@ void System::UpdateRunningGame(const char* path, CDImage* image, bool booting)
|
||||||
// TODO: We could pull the title from the PSF.
|
// TODO: We could pull the title from the PSF.
|
||||||
s_running_game_title = Path::GetFileTitle(path);
|
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;
|
std::string id;
|
||||||
GetGameDetailsFromImage(image, &id, &s_running_game_hash);
|
GetGameDetailsFromImage(image, &id, &s_running_game_hash);
|
||||||
|
|
Loading…
Reference in New Issue