summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-15 04:43:32 +0200
committerGitHub <noreply@github.com>2018-08-15 04:43:32 +0200
commit301baaa94206e3b185f259e6c44bdc8e6c0a3879 (patch)
tree3932f9c815c58b2f7a914d671d94184640de7dd2 /src
parentMerge pull request #1073 from lioncash/3ds (diff)
parentemu_window: Ensure WindowConfig members are always initialized (diff)
downloadyuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.gz
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.bz2
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.lz
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.xz
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.tar.zst
yuzu-301baaa94206e3b185f259e6c44bdc8e6c0a3879.zip
Diffstat (limited to '')
-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 {
public:
/// Data structure to store emuwindow configuration
struct WindowConfig {
- bool fullscreen;
- int res_width;
- int res_height;
+ bool fullscreen = false;
+ int res_width = 0;
+ int res_height = 0;
std::pair<unsigned, unsigned> min_client_area_size;
};