mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-14 08:46:09 +00:00
Runtime/MP1: Replace bitfield unions with constructor initializers
This commit is contained in:
@@ -227,20 +227,15 @@ private:
|
||||
|
||||
u32 x130_[10] = {1000000};
|
||||
|
||||
union {
|
||||
struct {
|
||||
bool x160_24_finished : 1;
|
||||
bool x160_25_mfGameBuilt : 1;
|
||||
bool x160_26_screenFading : 1;
|
||||
bool x160_27_ : 1;
|
||||
bool x160_28_manageCard : 1;
|
||||
bool x160_29_ : 1;
|
||||
bool x160_30_ : 1;
|
||||
bool x160_31_cardBusy : 1;
|
||||
bool x161_24_gameFrameDrawn : 1;
|
||||
};
|
||||
u16 _dummy = 0;
|
||||
};
|
||||
bool x160_24_finished : 1;
|
||||
bool x160_25_mfGameBuilt : 1;
|
||||
bool x160_26_screenFading : 1;
|
||||
bool x160_27_ : 1;
|
||||
bool x160_28_manageCard : 1;
|
||||
bool x160_29_ : 1;
|
||||
bool x160_30_ : 1;
|
||||
bool x160_31_cardBusy : 1;
|
||||
bool x161_24_gameFrameDrawn : 1;
|
||||
|
||||
std::unique_ptr<CGameArchitectureSupport> x164_archSupport;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user