summaryrefslogtreecommitdiff
path: root/src/code
diff options
context:
space:
mode:
Diffstat (limited to 'src/code')
-rw-r--r--src/code/z_actor.c2
-rw-r--r--src/code/z_kanfont.c2
-rw-r--r--src/code/z_sram.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/code/z_actor.c b/src/code/z_actor.c
index 0626f05de..37a370557 100644
--- a/src/code/z_actor.c
+++ b/src/code/z_actor.c
@@ -2570,7 +2570,7 @@ void Actor_Draw(PlayState* play, Actor* actor) {
gSPSegment(POLY_OPA_DISP++, 0x06, play->objectCtx.slots[actor->objectSlot].segment);
gSPSegment(POLY_XLU_DISP++, 0x06, play->objectCtx.slots[actor->objectSlot].segment);
#else
- // Workaround for EGCS bug
+ // Workaround for EGCS internal compiler error (see docs/compilers.md)
slots = play->objectCtx.slots;
gSPSegment(POLY_OPA_DISP++, 0x06, slots[actor->objectSlot].segment);
gSPSegment(POLY_XLU_DISP++, 0x06, slots[actor->objectSlot].segment);
diff --git a/src/code/z_kanfont.c b/src/code/z_kanfont.c
index 985e2d52f..fa038276f 100644
--- a/src/code/z_kanfont.c
+++ b/src/code/z_kanfont.c
@@ -119,7 +119,7 @@ void Font_LoadOrderedFont(Font* font) {
PRINTF("msg_data=%x, msg_data0=%x jj=%x\n", font->msgOffset, font->msgLength, len);
- // Workaround for EGCS bug
+ // Workaround for EGCS internal compiler error (see docs/compilers.md)
msgBufWide = font->msgBufWide;
fontBufIndex = 0;
for (codePointIndex = 0; msgBufWide[codePointIndex] != MESSAGE_WIDE_END; codePointIndex++) {
diff --git a/src/code/z_sram.c b/src/code/z_sram.c
index d7d453c9a..0531e2995 100644
--- a/src/code/z_sram.c
+++ b/src/code/z_sram.c
@@ -853,7 +853,7 @@ void Sram_InitSave(FileSelectState* fileSelect, SramContext* sramCtx) {
#if !PLATFORM_IQUE
gSaveContext.save.info.playerData.playerName[offset] = fileSelect->fileNames[fileSelect->buttonIndex][offset];
#else
- // Workaround for EGCS bug
+ // Workaround for EGCS internal compiler error (see docs/compilers.md)
u8* fileName = fileSelect->fileNames[fileSelect->buttonIndex];
gSaveContext.save.info.playerData.playerName[offset] = fileName[offset];