CDVD: Fix block dump path generation

This commit is contained in:
Stenzek
2024-01-14 14:36:16 +10:00
committed by Connor McLaughlin
parent 165da677ed
commit c99a935831

View File

@@ -353,7 +353,7 @@ bool DoCDVDopen(Error* error)
return true;
}
std::string dump_name(Path::StripExtension(m_SourceFilename[CurrentSourceType]));
std::string dump_name(Path::GetFileTitle(m_SourceFilename[CurrentSourceType]));
if (dump_name.empty())
dump_name = "Untitled";