mirror of
https://github.com/libretro/Play-.git
synced 2025-02-21 12:10:31 +00:00
Update DiscID format
This commit is contained in:
parent
2e2e5b976e
commit
3d63d9032c
@ -128,7 +128,7 @@ static std::string GetDiskIdFromPath(const std::string& filePath)
|
||||
auto regionCode = subFilePath.substr(0, 4);
|
||||
auto serial1 = subFilePath.substr(5, 3);
|
||||
auto serial2 = subFilePath.substr(9, 2);
|
||||
return regionCode + "_" + serial1 + "." + serial2;
|
||||
return regionCode + "-" + serial1 + serial2;
|
||||
}
|
||||
|
||||
bool DiskUtils::TryGetDiskId(const boost::filesystem::path& imagePath, std::string* diskIdPtr)
|
||||
|
Loading…
x
Reference in New Issue
Block a user