2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 03:07:43 +00:00

Runtime: Replace bitfield unions with constructor initializers

This commit is contained in:
2020-04-10 15:02:36 -04:00
parent 89e2e65100
commit 346d110b79
10 changed files with 50 additions and 74 deletions

View File

@@ -36,16 +36,11 @@ public:
};
private:
union {
struct {
bool x28_24_buildDepList : 1;
bool x28_25_aramFile : 1;
bool x28_26_worldPak : 1;
bool x28_27_stashedInARAM : 1;
bool m_override : 1;
};
u32 _dummy = 0;
};
bool x28_24_buildDepList : 1;
bool x28_25_aramFile : 1;
bool x28_26_worldPak : 1;
bool x28_27_stashedInARAM : 1;
bool m_override : 1;
enum class EAsyncPhase {
Warmup = 0,
InitialHeader = 1,