Browse Source

Merge pull request #9784 from m-HD/master

settings: added missing graphical settings to RestoreGlobalState()
bunnei 3 năm trước cách đây
mục cha
commit
770a49616d
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      src/common/settings.cpp

+ 4 - 0
src/common/settings.cpp

@@ -199,7 +199,11 @@ void RestoreGlobalState(bool is_powered_on) {
     values.renderer_backend.SetGlobal(true);
     values.renderer_force_max_clock.SetGlobal(true);
     values.vulkan_device.SetGlobal(true);
+    values.fullscreen_mode.SetGlobal(true);
     values.aspect_ratio.SetGlobal(true);
+    values.resolution_setup.SetGlobal(true);
+    values.scaling_filter.SetGlobal(true);
+    values.anti_aliasing.SetGlobal(true);
     values.max_anisotropy.SetGlobal(true);
     values.use_speed_limit.SetGlobal(true);
     values.speed_limit.SetGlobal(true);