Update DiscID format

This commit is contained in:
Mahmood - Zer0xFF 2019-01-06 00:01:23 +00:00
parent 2e2e5b976e
commit 3d63d9032c

View File

@ -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)