From 2f191e8fa2008629f7d382e948cd58c03c7b99d7 Mon Sep 17 00:00:00 2001 From: wheremyfoodat <44909372+wheremyfoodat@users.noreply.github.com> Date: Sun, 13 Aug 2023 00:48:00 +0300 Subject: [PATCH] Enable shader JIT by default --- include/config.hpp | 2 +- src/config.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/config.hpp b/include/config.hpp index 631ada81..08971481 100644 --- a/include/config.hpp +++ b/include/config.hpp @@ -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; diff --git a/src/config.cpp b/src/config.cpp index b194ab09..6a961dbe 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -54,7 +54,7 @@ void EmulatorConfig::load(const std::filesystem::path& path) { rendererType = RendererType::OpenGL; } - shaderJitEnabled = toml::find_or(gpu, "EnableShaderJIT", false); + shaderJitEnabled = toml::find_or(gpu, "EnableShaderJIT", true); } } }