Add a setting to launch a separate CPU thread.

This commit is contained in:
Unknown W. Brackets committed 2013-08-09 22:41:30 -07:00
1 parent e03acc4c58
commit e7c7c5b3db
6 files changed
+190 -51

No files matched your search

+2
View File
@@ -89,6 +89,7 @@ void Config::Load(const char *iniFileName)
#else
cpu->Get("Jit", &bJit, true);
#endif
cpu->Get("UseCPUThread", &bUseCPUThread, false);
cpu->Get("FastMemory", &bFastMemory, false);
cpu->Get("CPUSpeed", &iLockedCPUSpeed, false);
@@ -226,6 +227,7 @@ void Config::Save()
IniFile::Section *cpu = iniFile.GetOrCreateSection("CPU");
cpu->Set("Jit", bJit);
cpu->Set("UseCPUThread", bUseCPUThread);
cpu->Set("FastMemory", bFastMemory);
cpu->Set("CPUSpeed", iLockedCPUSpeed);