diff options
| author | 2019-04-19 21:02:46 -0400 | |
|---|---|---|
| committer | 2019-04-20 00:05:24 -0400 | |
| commit | 788497fd9d41bbfb82a1ac6816bee805a38e60cc (patch) | |
| tree | 29c3def5870dd2efc129f61d534e587a8d32e03a /src/yuzu_cmd/config.cpp | |
| parent | Merge pull request #2415 from lioncash/const (diff) | |
| download | yuzu-788497fd9d41bbfb82a1ac6816bee805a38e60cc.tar.gz yuzu-788497fd9d41bbfb82a1ac6816bee805a38e60cc.tar.xz yuzu-788497fd9d41bbfb82a1ac6816bee805a38e60cc.zip | |
Allow picking a Compatibility Profile for OpenGL.
This option allows picking the compatibility profile since a lot of bugs
are fixed in it. We devs will use this option to easierly debug current
problems in our Core implementation.:wq
Diffstat (limited to 'src/yuzu_cmd/config.cpp')
| -rw-r--r-- | src/yuzu_cmd/config.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu_cmd/config.cpp b/src/yuzu_cmd/config.cpp index f24cc77fe..d0ae058fd 100644 --- a/src/yuzu_cmd/config.cpp +++ b/src/yuzu_cmd/config.cpp | |||
| @@ -349,6 +349,8 @@ void Config::ReadValues() { | |||
| 349 | Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true); | 349 | Settings::values.use_frame_limit = sdl2_config->GetBoolean("Renderer", "use_frame_limit", true); |
| 350 | Settings::values.frame_limit = | 350 | Settings::values.frame_limit = |
| 351 | static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100)); | 351 | static_cast<u16>(sdl2_config->GetInteger("Renderer", "frame_limit", 100)); |
| 352 | Settings::values.use_compatibility_profile = | ||
| 353 | sdl2_config->GetBoolean("Renderer", "use_compatibility_profile", true); | ||
| 352 | Settings::values.use_disk_shader_cache = | 354 | Settings::values.use_disk_shader_cache = |
| 353 | sdl2_config->GetBoolean("Renderer", "use_disk_shader_cache", false); | 355 | sdl2_config->GetBoolean("Renderer", "use_disk_shader_cache", false); |
| 354 | Settings::values.use_accurate_gpu_emulation = | 356 | Settings::values.use_accurate_gpu_emulation = |