summaryrefslogtreecommitdiff
path: root/gflib/text.h
diff options
context:
space:
mode:
authorSierra A <6080951+Sierraffinity@users.noreply.github.com>2020-05-20 19:50:52 -0700
committerGitHub <noreply@github.com>2020-05-20 19:50:52 -0700
commit02416dc79caf63cf0a43f3725db5168fd864b4fe (patch)
treed563e97c7b5fea2d6a45b192ee5771c62025d822 /gflib/text.h
parent476acc00d5f6d1cebcd89e498f6f3d09c1347432 (diff)
parentd301d438c1c48666f6d164ab53753e80cb525575 (diff)
Merge pull request #1053 from Sierraffinity/text-drawdownarrow-fix
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;