summaryrefslogtreecommitdiff
path: root/src/common/settings.h
diff options
context:
space:
mode:
authorGravatar ameerj2021-07-08 21:45:01 -0400
committerGravatar ameerj2021-07-08 21:45:01 -0400
commit8284658bac04837756287d2f6b36485c8a2833dc (patch)
tree38c2ee0bae55ed323cc7fd501acd8baea1dfc6f7 /src/common/settings.h
parentconfigure_audio: Use u8 for volume value (diff)
downloadyuzu-8284658bac04837756287d2f6b36485c8a2833dc.tar.gz
yuzu-8284658bac04837756287d2f6b36485c8a2833dc.tar.xz
yuzu-8284658bac04837756287d2f6b36485c8a2833dc.zip
configure_graphics: Use u8 for bg_color values
Diffstat (limited to 'src/common/settings.h')
-rw-r--r--src/common/settings.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/settings.h b/src/common/settings.h
index 5305f1ed8..898798212 100644
--- a/src/common/settings.h
+++ b/src/common/settings.h
@@ -333,9 +333,9 @@ struct Values {
333 Setting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"}; 333 Setting<bool> use_fast_gpu_time{true, "use_fast_gpu_time"};
334 Setting<bool> use_caches_gc{false, "use_caches_gc"}; 334 Setting<bool> use_caches_gc{false, "use_caches_gc"};
335 335
336 Setting<float> bg_red{0.0f, "bg_red"}; 336 Setting<u8> bg_red{0, "bg_red"};
337 Setting<float> bg_green{0.0f, "bg_green"}; 337 Setting<u8> bg_green{0, "bg_green"};
338 Setting<float> bg_blue{0.0f, "bg_blue"}; 338 Setting<u8> bg_blue{0, "bg_blue"};
339 339
340 // System 340 // System
341 Setting<std::optional<u32>> rng_seed{std::optional<u32>(), "rng_seed"}; 341 Setting<std::optional<u32>> rng_seed{std::optional<u32>(), "rng_seed"};