[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,7 +658,8 @@ bool CN64Rom::LoadN64Image(const char * FileLoc, bool LoadBootCodeOnly)
|
|||
if (!LoadBootCodeOnly && g_Rom == this)
|
||||
{
|
||||
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
|
||||
SaveRomSettingID(false);
|
||||
if (!g_Disk)
|
||||
SaveRomSettingID(false);
|
||||
}
|
||||
|
||||
if (g_Settings->LoadBool(Game_CRC_Recalc))
|
||||
|
@ -822,7 +823,6 @@ bool CN64Rom::LoadN64ImageIPL(const char * FileLoc, bool LoadBootCodeOnly)
|
|||
if (!LoadBootCodeOnly && g_DDRom == this)
|
||||
{
|
||||
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
|
||||
SaveRomSettingID(false);
|
||||
}
|
||||
|
||||
if (g_Settings->LoadBool(Game_CRC_Recalc))
|
||||
|
|
Loading…
Reference in New Issue