cleanup graphics code

a bit
This commit is contained in:
Henny022p
2025-03-05 14:00:09 +00:00
parent 22c5e38729
commit 96a3e64280
13 changed files with 290 additions and 244 deletions
+2 -2
View File
@@ -380,9 +380,9 @@ void FigurineMenu_080A4978(void) {
LoadPalettes(fig->pal, 0x16, 9);
gfx = fig->gfx;
if (fig->size < 0) {
LZ77UnCompVram(gfx, (void*)0x6014000);
LZ77UnCompVram(gfx, OBJ_VRAM0 + 0x4000);
} else {
LoadResourceAsync(gfx, 0x6014000, fig->size);
LoadResourceAsync(gfx, OBJ_VRAM0 + 0x4000, fig->size);
}
}
}