summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar bunnei2018-08-14 22:43:32 -0400
committerGravatar GitHub2018-08-14 22:43:32 -0400
commit301baaa94206e3b185f259e6c44bdc8e6c0a3879 (patch)
tree3932f9c815c58b2f7a914d671d94184640de7dd2 /src
parentMerge pull request #1073 from lioncash/3ds (diff)
parentemu_window: Ensure WindowConfig members are always initialized (diff)
downloadyuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.gz
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.xz
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.zip
Merge pull request #1067 from lioncash/init
emu_window: Ensure WindowConfig members are always initialized
Diffstat (limited to 'src')
-rw-r--r--src/core/frontend/emu_window.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index 384dc7822..7006a37b3 100644
--- a/src/core/frontend/emu_window.h
+++ b/src/core/frontend/emu_window.h
@@ -34,9 +34,9 @@ class EmuWindow {
34public: 34public:
35 /// Data structure to store emuwindow configuration 35 /// Data structure to store emuwindow configuration
36 struct WindowConfig { 36 struct WindowConfig {
37 bool fullscreen; 37 bool fullscreen = false;
38 int res_width; 38 int res_width = 0;
39 int res_height; 39 int res_height = 0;
40 std::pair<unsigned, unsigned> min_client_area_size; 40 std::pair<unsigned, unsigned> min_client_area_size;
41 }; 41 };
42 42