mirror of
https://github.com/stenzek/duckstation.git
synced 2025-06-08 04:25:37 +00:00
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)
|
for (const FileLoader& loader : loaders)
|
||||||
{
|
{
|
||||||
path = Path::BuildRelativePath(image_path,
|
path = Path::BuildRelativePath(image_path,
|
||||||
SmallString::from_format("{}_{}.{}", Path::GetFileName(image_path),
|
SmallString::from_format("{}_{}.{}", Path::GetFileTitle(image_path),
|
||||||
image->GetCurrentSubImage() + 1, loader.extension));
|
image->GetCurrentSubImage() + 1, loader.extension));
|
||||||
if (FileSystem::FileExists(path.c_str()))
|
if (FileSystem::FileExists(path.c_str()))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user