mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-13 06:20:26 +02:00
Fix fake game ID generation to work with scoped storage
This commit is contained in:
1 parent
796787dce5
commit
2e16fd3bcc
8 files changed
+18
-13
No files matched your search
@@ -472,7 +472,7 @@ public:
|
||||
if ((info_->id.empty() || !info_->disc_total)
|
||||
&& gamePath_.FilePathContainsNoCase("PSP/GAME/")
|
||||
&& info_->fileType == IdentifiedFileType::PSP_PBP_DIRECTORY) {
|
||||
info_->id = g_paramSFO.GenerateFakeID(gamePath_.ToString());
|
||||
info_->id = g_paramSFO.GenerateFakeID(gamePath_);
|
||||
info_->id_version = info_->id + "_1.00";
|
||||
info_->region = GAMEREGION_MAX + 1; // Homebrew
|
||||
}
|
||||
@@ -529,7 +529,7 @@ handleELF:
|
||||
// An elf on its own has no usable information, no icons, no nothing.
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(info_->lock);
|
||||
info_->id = g_paramSFO.GenerateFakeID(gamePath_.ToString());
|
||||
info_->id = g_paramSFO.GenerateFakeID(gamePath_);
|
||||
info_->id_version = info_->id + "_1.00";
|
||||
info_->region = GAMEREGION_MAX + 1; // Homebrew
|
||||
|
||||
|
||||
Reference in new issue
Block a user