mirror of
				https://git.suyu.dev/suyu/suyu
				synced 2025-11-04 00:49:02 -06:00 
			
		
		
		
	core: Add configuration option for CPU JIT.
This commit is contained in:
		@@ -65,6 +65,7 @@ void Config::ReadValues() {
 | 
			
		||||
    Settings::values.pad_circle_modifier_scale = (float)sdl2_config->GetReal("Controls", "pad_circle_modifier_scale", 0.5);
 | 
			
		||||
 | 
			
		||||
    // Core
 | 
			
		||||
    Settings::values.use_cpu_jit = sdl2_config->GetBoolean("Core", "use_cpu_jit", true);
 | 
			
		||||
    Settings::values.frame_skip = sdl2_config->GetInteger("Core", "frame_skip", 0);
 | 
			
		||||
 | 
			
		||||
    // Renderer
 | 
			
		||||
 
 | 
			
		||||
@@ -38,6 +38,10 @@ pad_circle_modifier =
 | 
			
		||||
pad_circle_modifier_scale =
 | 
			
		||||
 | 
			
		||||
[Core]
 | 
			
		||||
# Whether to use the Just-In-Time (JIT) compiler for CPU emulation
 | 
			
		||||
# 0: Interpreter (slow), 1 (default): JIT (fast)
 | 
			
		||||
use_cpu_jit =
 | 
			
		||||
 | 
			
		||||
# The applied frameskip amount. Must be a power of two.
 | 
			
		||||
# 0 (default): No frameskip, 1: x2 frameskip, 2: x4 frameskip, 3: x8 frameskip, etc.
 | 
			
		||||
frame_skip =
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user