diff --git a/src/core/frontend/emu_window.h b/src/core/frontend/emu_window.h
index 384dc7822b6ba5d08fb91e1c75219a9d4b66fb26..7006a37b3e28c09722c4141e90a10faafeb99968 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;
     };