[Rom] Do not load ROM settings if a disk is loaded
It will prioritize the settings from disk if one is loaded.
This commit is contained in:
parent
16e474df42
commit
c7bbd12b41
|
@ -658,6 +658,7 @@ bool CN64Rom::LoadN64Image(const char * FileLoc, bool LoadBootCodeOnly)
|
||||||
if (!LoadBootCodeOnly && g_Rom == this)
|
if (!LoadBootCodeOnly && g_Rom == this)
|
||||||
{
|
{
|
||||||
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
|
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
|
||||||
|
if (!g_Disk)
|
||||||
SaveRomSettingID(false);
|
SaveRomSettingID(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -822,7 +823,6 @@ bool CN64Rom::LoadN64ImageIPL(const char * FileLoc, bool LoadBootCodeOnly)
|
||||||
if (!LoadBootCodeOnly && g_DDRom == this)
|
if (!LoadBootCodeOnly && g_DDRom == this)
|
||||||
{
|
{
|
||||||
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
|
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
|
||||||
SaveRomSettingID(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (g_Settings->LoadBool(Game_CRC_Recalc))
|
if (g_Settings->LoadBool(Game_CRC_Recalc))
|
||||||
|
|
Loading…
Reference in New Issue