CDROM: Fix loading of subimage SBI files
This commit is contained in:
parent
e4dea69713
commit
be7cff5964
|
@ -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()))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue