diff options
| author | bunnei <bunneidev@gmail.com> | 2018-08-14 22:43:32 -0400 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-14 22:43:32 -0400 | 
| commit | 301baaa94206e3b185f259e6c44bdc8e6c0a3879 (patch) | |
| tree | 3932f9c815c58b2f7a914d671d94184640de7dd2 /src/core | |
| parent | 3db1b8e0cd79313975144b3e6b9a5a0ebc7ada83 (diff) | |
| parent | 2e715ef70d73be38050464c53d89b0aabd150196 (diff) | |
Merge pull request #1067 from lioncash/init
emu_window: Ensure WindowConfig members are always initialized
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/frontend/emu_window.h | 6 | 
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;      }; | 
