Minor cleanup

This commit is contained in:
Nicholas Estelami 2022-04-26 18:52:25 -04:00
parent 4c74acdd29
commit 8828d8a170

View File

@ -39,11 +39,6 @@ MessageTableEntry* sStaffMessageEntryTablePtr;
char* _message_0xFFFC_nes; char* _message_0xFFFC_nes;
//MessageTableEntry* sNesMessageEntryTablePtr = sNesMessageEntryTable;
//const char** sGerMessageEntryTablePtr = sGerMessageEntryTable;
//const char** sFraMessageEntryTablePtr = sFraMessageEntryTable;
//MessageTableEntry* sStaffMessageEntryTablePtr = sStaffMessageEntryTable;
s16 sTextboxBackgroundForePrimColors[][3] = { s16 sTextboxBackgroundForePrimColors[][3] = {
{ 255, 255, 255 }, { 50, 20, 0 }, { 255, 60, 0 }, { 255, 255, 255 }, { 255, 255, 255 }, { 50, 20, 0 }, { 255, 60, 0 }, { 255, 255, 255 },
{ 255, 255, 255 }, { 255, 255, 255 }, { 255, 255, 255 }, { 255, 255, 255 }, { 255, 255, 255 }, { 255, 255, 255 }, { 255, 255, 255 }, { 255, 255, 255 },
@ -205,8 +200,6 @@ void Message_DrawTextChar(GlobalContext* globalCtx, void* textureImage, Gfx** p)
s16 x = msgCtx->textPosX; s16 x = msgCtx->textPosX;
s16 y = msgCtx->textPosY; s16 y = msgCtx->textPosY;
//gSPInvalidateTexCache(gfx++, 0);
//gSPInvalidateTexCache(gfx++, msgCtx->textboxSegment);
gSPInvalidateTexCache(gfx++, textureImage); gSPInvalidateTexCache(gfx++, textureImage);
gDPPipeSync(gfx++); gDPPipeSync(gfx++);