Skip to content

Commit

Permalink
Merge pull request #170 from RachelBryk/save-skip-bios
Browse files Browse the repository at this point in the history
Save bHLE_BS2 to config cache before it can be changed while booting.
  • Loading branch information
delroth committed Mar 17, 2014
2 parents fe37a77 + 89dbec4 commit 4a906fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Source/Core/Core/BootManager.cpp
Expand Up @@ -76,6 +76,9 @@ bool BootCore(const std::string& _rFilename)

StartUp.hInstance = Host_GetInstance();

// This is saved seperately from everything because it can be changed in SConfig::AutoSetup()
config_cache.bHLE_BS2 = StartUp.bHLE_BS2;

// If for example the ISO file is bad we return here
if (!StartUp.AutoSetup(SCoreStartupParameter::BOOT_DEFAULT))
return false;
Expand Down Expand Up @@ -108,7 +111,6 @@ bool BootCore(const std::string& _rFilename)
config_cache.bMergeBlocks = StartUp.bMergeBlocks;
config_cache.bDSPHLE = StartUp.bDSPHLE;
config_cache.strBackend = StartUp.m_strVideoBackend;
config_cache.bHLE_BS2 = StartUp.bHLE_BS2;
config_cache.m_EnableJIT = SConfig::GetInstance().m_DSPEnableJIT;
config_cache.bDSPThread = StartUp.bDSPThread;
config_cache.Volume = SConfig::GetInstance().m_Volume;
Expand Down

0 comments on commit 4a906fd

Please sign in to comment.