Fix MSVC build in _ShowGpu initializers

“A default member initializer is not allowed for a member of an
anonymous struct within a union.”
This commit is contained in:
Link Mauve 2025-06-24 03:39:26 +02:00
parent 472fe89165
commit bf208df81f
1 changed files with 2 additions and 4 deletions

View File

@ -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;