Add feature to cache ISOs in RAM to avoid I/O stutters. 64-bit only. Loading gets slow though.

TODO: Make it cache in the background on load. Allow on 32-bit for small ISOs.
This commit is contained in:
Henrik Rydgard committed 2014-10-31 00:14:00 +01:00
1 parent 0df4afce67
commit 291e5e53c0
6 files changed
+56 -4

No files matched your search

+4
View File
@@ -391,6 +391,10 @@ void GameSettingsScreen::CreateViews() {
systemSettings->Add(new CheckBox(&g_Config.bBypassOSKWithKeyboard, s->T("Enable Windows native keyboard", "Enable Windows native keyboard")));
#endif
#if defined(_M_X64)
systemSettings->Add(new CheckBox(&g_Config.bCacheFullIsoInRam, s->T("Cache ISO in RAM", "Cache full ISO in RAM (slow startup)")));
#endif
systemSettings->Add(new ItemHeader(s->T("Developer Tools")));
systemSettings->Add(new Choice(s->T("Developer Tools")))->OnClick.Handle(this, &GameSettingsScreen::OnDeveloperTools);