Browse Source
Merge pull request #1067 from lioncash/init
emu_window: Ensure WindowConfig members are always initialized
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
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; |
|
|
|
}; |
|
|
|
|
|
|
|
|