Merge pull request #14056 from jordan-woyak/cached-blob-reader
Core/DiscIO: Add a setting to load games into memory.
This commit is contained in:
@@ -90,6 +90,7 @@ void GeneralPane::OnEmulationStateChanged(Core::State state)
|
||||
|
||||
m_checkbox_dualcore->setEnabled(!running);
|
||||
m_checkbox_cheats->setEnabled(!running);
|
||||
m_checkbox_load_games_into_memory->setEnabled(!running);
|
||||
m_checkbox_override_region_settings->setEnabled(!running);
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
m_checkbox_discord_presence->setEnabled(!running);
|
||||
@@ -147,6 +148,15 @@ void GeneralPane::CreateBasic()
|
||||
m_checkbox_cheats = new ConfigBool(tr("Enable Cheats"), Config::MAIN_ENABLE_CHEATS);
|
||||
basic_group_layout->addWidget(m_checkbox_cheats);
|
||||
|
||||
m_checkbox_load_games_into_memory =
|
||||
new ConfigBool(tr("Load Whole Game Into Memory"), Config::MAIN_LOAD_GAME_INTO_MEMORY);
|
||||
basic_group_layout->addWidget(m_checkbox_load_games_into_memory);
|
||||
m_checkbox_load_games_into_memory->SetDescription(
|
||||
tr("Loads the running game into memory in the background."
|
||||
"<br><br>This may improve performance with slow or high-latency storage."
|
||||
"<br>System memory requirements will be much higher with this setting enabled."
|
||||
"<br><br><dolphin_emphasis>If unsure, leave this unchecked.</dolphin_emphasis>"));
|
||||
|
||||
m_checkbox_override_region_settings =
|
||||
new ConfigBool(tr("Allow Mismatched Region Settings"), Config::MAIN_OVERRIDE_REGION_SETTINGS);
|
||||
basic_group_layout->addWidget(m_checkbox_override_region_settings);
|
||||
|
||||
@@ -48,6 +48,7 @@ private:
|
||||
ToolTipComboBox* m_combobox_fallback_region;
|
||||
ConfigBool* m_checkbox_dualcore;
|
||||
ConfigBool* m_checkbox_cheats;
|
||||
ConfigBool* m_checkbox_load_games_into_memory;
|
||||
ConfigBool* m_checkbox_override_region_settings;
|
||||
ConfigBool* m_checkbox_auto_disc_change;
|
||||
#ifdef USE_DISCORD_PRESENCE
|
||||
|
||||
Reference in New Issue
Block a user