[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:
LuigiBlood 2019-08-13 20:26:23 +02:00
parent 16e474df42
commit c7bbd12b41
1 changed files with 2 additions and 2 deletions

View File

@ -658,6 +658,7 @@ bool CN64Rom::LoadN64Image(const char * FileLoc, bool LoadBootCodeOnly)
if (!LoadBootCodeOnly && g_Rom == this)
{
g_Settings->SaveBool(GameRunning_LoadingInProgress, false);
if (!g_Disk)
SaveRomSettingID(false);
}
@ -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))