summaryrefslogtreecommitdiff
path: root/gflib/text.h
diff options
context:
space:
mode:
authorSierraffinity <sierra@domoreaweso.me>2020-05-20 19:07:49 -0700
committerSierraffinity <sierra@domoreaweso.me>2020-05-20 19:09:55 -0700
commit3617a064d2e4ecb1533e6447c5404fbe7627a884 (patch)
tree8b4baf7dd5cb6ab76b75bc0fcaa14dee0b096705 /gflib/text.h
parenta1244aa5dd4c7519ba6c2dcba5796eec2eba1c90 (diff)
Fix TextPrinterDrawDownArrow fakematch
Diffstat (limited to 'gflib/text.h')
-rw-r--r--gflib/text.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/gflib/text.h b/gflib/text.h
index 51d53bf72..4819eb37b 100644
--- a/gflib/text.h
+++ b/gflib/text.h
@@ -200,15 +200,7 @@ struct TextPrinter
void (*callback)(struct TextPrinterTemplate *, u16); // 0x10
- union
-#if !MODERN
- __attribute__((packed))
-#endif
- {
- struct TextPrinterSubStruct sub;
- u8 fields[7];
- } subUnion;
-
+ u8 subStructFields[7]; // always cast to struct TextPrinterSubStruct... so why bother
u8 active;
u8 state; // 0x1C
u8 textSpeed;