diff --git a/desmume/src/NDSSystem.h b/desmume/src/NDSSystem.h index 320ab455f..edbf2c466 100644 --- a/desmume/src/NDSSystem.h +++ b/desmume/src/NDSSystem.h @@ -598,11 +598,9 @@ extern struct TCommonSettings bool spu_advanced = true; struct _ShowGpu { + _ShowGpu() : main(true), sub(true) {} union { - struct { - bool main = true; - bool sub = true; - }; + struct { bool main, sub; }; bool screens[2]; }; } showGpu;