mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2025-10-30 08:01:01 +00:00
Prevent assert in load_tlut
This commit is contained in:
parent
38b2c81189
commit
15de1d5609
1 changed files with 1 additions and 1 deletions
|
|
@ -1257,7 +1257,7 @@ static void gfx_dp_set_tile_size(uint8_t tile, uint16_t uls, uint16_t ult, uint1
|
||||||
}
|
}
|
||||||
|
|
||||||
static void gfx_dp_load_tlut(uint8_t tile, UNUSED uint32_t high_index) {
|
static void gfx_dp_load_tlut(uint8_t tile, UNUSED uint32_t high_index) {
|
||||||
SUPPORT_CHECK(tile == G_TX_LOADTILE);
|
if (tile != G_TX_LOADTILE) { return; }
|
||||||
SUPPORT_CHECK(rdp.texture_to_load.siz == G_IM_SIZ_16b);
|
SUPPORT_CHECK(rdp.texture_to_load.siz == G_IM_SIZ_16b);
|
||||||
rdp.palette = rdp.texture_to_load.addr;
|
rdp.palette = rdp.texture_to_load.addr;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue