Skip to content

Commit

Permalink
Add an option to force number of worker threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaMoo committed Sep 13, 2018
1 parent 024574a commit 7e6b227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions UI/GameSettingsScreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,8 @@ void OtherSettingsScreen::CreateViews() {
list->SetSpacing(0);

list->Add(new ItemHeader(sy->T("Settings that should not be changed by most users")));
PopupSliderChoice *workerThreads = list->Add(new PopupSliderChoice(&g_Config.iNumWorkerThreads, 1, 128, gr->T("Manually set number of threads(important for software rendering and texture scaling)"), 1, screenManager(), gr->T("Threads")));
workerThreads->SetFormat("Threads");
list->Add(new CheckBox(&g_Config.bEncryptSave, sy->T("Encrypt savedata")));
list->Add(new CheckBox(&g_Config.bSavedataUpgrade, sy->T("Allow savedata with wrong encryption(unsafe workaround for outdated PSP savedata)")));
list->Add(new CheckBox(&g_Config.bFrameSkipUnthrottle, gr->T("Frameskip unthrottle(good for CPU benchmark)")));
Expand Down

0 comments on commit 7e6b227

Please sign in to comment.