summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-14 22:43:32 -0400
committerGitHub <noreply@github.com>2018-08-14 22:43:32 -0400
commit301baaa94206e3b185f259e6c44bdc8e6c0a3879 (patch)
tree3932f9c815c58b2f7a914d671d94184640de7dd2
parent3db1b8e0cd79313975144b3e6b9a5a0ebc7ada83 (diff)
parent2e715ef70d73be38050464c53d89b0aabd150196 (diff)
Merge pull request #1067 from lioncash/init
emu_window: Ensure WindowConfig members are always initialized
-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;
};