From 37c739603df9f65e8d8aa979be79fde2f569ac2c Mon Sep 17 00:00:00 2001 From: Wunkolo Date: Sun, 12 Nov 2023 11:17:13 -0800 Subject: [PATCH] config: Use `u16` for `sample_count` `u8` causes configs to emit strange variants like `@Variant(\0\0\0\x86\x3)` --- src/common/settings.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/settings.h b/src/common/settings.h index 2d3478580..6a405ca9c 100644 --- a/src/common/settings.h +++ b/src/common/settings.h @@ -475,7 +475,7 @@ struct Values { SwitchableSetting use_vsync_new{true, "use_vsync_new"}; Setting use_shader_jit{true, "use_shader_jit"}; SwitchableSetting resolution_factor{1, 0, 10, "resolution_factor"}; - SwitchableSetting sample_count{0, 0, 3, "sample_count"}; + SwitchableSetting sample_count{0, 0, 3, "sample_count"}; SwitchableSetting frame_limit{100, 0, 1000, "frame_limit"}; SwitchableSetting texture_filter{TextureFilter::None, "texture_filter"}; SwitchableSetting texture_sampling{TextureSampling::GameControlled,