Merge pull request #176 from wheremyfoodat/rec-DPHI

Enable shader JIT by default
This commit is contained in:
wheremyfoodat
2023-08-13 00:52:31 +03:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@
// Remember to initialize every field here to its default value otherwise bad things will happen
struct EmulatorConfig {
bool shaderJitEnabled = false;
bool shaderJitEnabled = true;
bool discordRpcEnabled = false;
RendererType rendererType = RendererType::OpenGL;

View File

@@ -54,7 +54,7 @@ void EmulatorConfig::load(const std::filesystem::path& path) {
rendererType = RendererType::OpenGL;
}
shaderJitEnabled = toml::find_or<toml::boolean>(gpu, "EnableShaderJIT", false);
shaderJitEnabled = toml::find_or<toml::boolean>(gpu, "EnableShaderJIT", true);
}
}
}