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:
parent
472fe89165
commit
bf208df81f
|
@ -598,11 +598,9 @@ extern struct TCommonSettings
|
||||||
bool spu_advanced = true;
|
bool spu_advanced = true;
|
||||||
|
|
||||||
struct _ShowGpu {
|
struct _ShowGpu {
|
||||||
|
_ShowGpu() : main(true), sub(true) {}
|
||||||
union {
|
union {
|
||||||
struct {
|
struct { bool main, sub; };
|
||||||
bool main = true;
|
|
||||||
bool sub = true;
|
|
||||||
};
|
|
||||||
bool screens[2];
|
bool screens[2];
|
||||||
};
|
};
|
||||||
} showGpu;
|
} showGpu;
|
||||||
|
|
Loading…
Reference in New Issue