mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-18 03:25:24 +00:00
Runtime/Graphics: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -99,21 +99,15 @@ private:
|
||||
float xe8_curSeconds = 0.f;
|
||||
float xec_preLoadSeconds;
|
||||
u32 xf0_preLoadFrames = 0;
|
||||
bool xf4_24_loop : 1;
|
||||
bool xf4_25_hasAudio : 1;
|
||||
bool xf4_26_fieldFlip : 1;
|
||||
bool m_deinterlace : 1;
|
||||
u32 xf8_ = 0;
|
||||
u32 xfc_fieldIndex = 0;
|
||||
|
||||
std::unique_ptr<uint8_t[]> m_yuvBuf;
|
||||
|
||||
union {
|
||||
u32 m_dummy = 0;
|
||||
struct {
|
||||
bool xf4_24_loop : 1;
|
||||
bool xf4_25_hasAudio : 1;
|
||||
bool xf4_26_fieldFlip : 1;
|
||||
bool m_deinterlace : 1;
|
||||
};
|
||||
};
|
||||
|
||||
specter::View::ViewBlock m_viewVertBlock;
|
||||
boo::ObjToken<boo::IGraphicsBufferD> m_blockBuf;
|
||||
boo::ObjToken<boo::IGraphicsBufferD> m_vertBuf;
|
||||
|
||||
Reference in New Issue
Block a user