VMManager: Fix disc change path message

This commit is contained in:
Stenzek 2023-12-30 14:14:06 +10:00 committed by Connor McLaughlin
parent ecd3b87cc0
commit a93663af0b
1 changed files with 2 additions and 1 deletions

View File

@ -2019,7 +2019,8 @@ bool VMManager::ChangeDisc(CDVD_SourceType source, std::string path)
else
{
Host::AddIconOSDMessage("ChangeDisc", ICON_FA_COMPACT_DISC,
fmt::format(TRANSLATE_FS("VMManager", "Disc changed to '{}'."), Path::GetFileName(path)),
fmt::format(TRANSLATE_FS("VMManager", "Disc changed to '{}'."),
Path::GetFileName(CDVDsys_GetFile(CDVDsys_GetSourceType()))),
Host::OSD_INFO_DURATION);
}
}