CDROM: Fix loading of subimage SBI files

This commit is contained in:
Stenzek 2025-01-12 18:59:39 +10:00
parent e4dea69713
commit be7cff5964
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ bool CDROMSubQReplacement::LoadForImage(std::unique_ptr<CDROMSubQReplacement>* r
for (const FileLoader& loader : loaders)
{
path = Path::BuildRelativePath(image_path,
SmallString::from_format("{}_{}.{}", Path::GetFileName(image_path),
SmallString::from_format("{}_{}.{}", Path::GetFileTitle(image_path),
image->GetCurrentSubImage() + 1, loader.extension));
if (FileSystem::FileExists(path.c_str()))
{