Merge pull request #5025 from jroweboy/tomoscrewme

Add CPU Clock Frequency slider
This commit is contained in:
Hamish Milne 2020-03-28 12:31:41 +00:00 committed by GitHub
commit 1ff8d002a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 204 additions and 84 deletions

View file

@ -104,6 +104,8 @@ void Config::ReadValues() {
// Core
Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);
Settings::values.cpu_clock_percentage =
sdl2_config->GetInteger("Core", "cpu_clock_percentage", 100);
// Renderer
Settings::values.use_gles = sdl2_config->GetBoolean("Renderer", "use_gles", false);