Fix a bunch of emu features for Homebrew by better identification.

This commit is contained in:
LunaMoo committed 2017-05-30 12:20:29 +02:00
1 parent c109f849e0
commit 939b26475d
13 files changed
+91 -32

No files matched your search

+3 -2
View File
@@ -243,9 +243,10 @@ void CPU_Init() {
// 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()) {
coreParameter.compat.Load(discID);
if (discID.empty()) {
discID = g_paramSFO.GenerateFakeID();
}
coreParameter.compat.Load(discID);
Memory::Init();
mipsr4k.Reset();