mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Core: Refactor repeating disc id homebrew code.
This commit is contained in:
1 parent
dca75437c3
commit
41b485aa0a
8 files changed
+15
-32
No files matched your search
+1
-4
@@ -242,10 +242,7 @@ void CPU_Init() {
|
||||
// Here we have read the PARAM.SFO, let's see if we need any compatibility overrides.
|
||||
// Homebrew usually has an empty discID, and even if they do have a disc id, it's not
|
||||
// likely to collide with any commercial ones.
|
||||
std::string discID = g_paramSFO.GetValueString("DISC_ID");
|
||||
if (discID.empty()) {
|
||||
discID = g_paramSFO.GenerateFakeID();
|
||||
}
|
||||
std::string discID = g_paramSFO.GetDiscID();
|
||||
coreParameter.compat.Load(discID);
|
||||
|
||||
Memory::Init();
|
||||
|
||||
Reference in new issue
Block a user