android/config: initialize cpu_clock_frequency
leaving it uninitialized broke some games for obvious reasons
This commit is contained in:
parent
d0b84c78cc
commit
e3b5846231
@ -100,6 +100,8 @@ void Config::ReadValues() {
|
||||
|
||||
// Core
|
||||
Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);
|
||||
Settings::values.cpu_clock_percentage =
|
||||
static_cast<int>(sdl2_config->GetInteger("Core", "cpu_clock_percentage", 100));
|
||||
|
||||
// Renderer
|
||||
Settings::values.use_gles = sdl2_config->GetBoolean("Renderer", "use_gles", true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user