Prevent multitexture corruption in new Mario/Luigi models
This commit is contained in:
parent
156cca9607
commit
0fcfaa147d
|
@ -4098,4 +4098,4 @@ const Gfx luigi_material_revert_render_settings[] = {
|
||||||
gsDPSetTileSize(1, 0, 0, 124, 124),
|
gsDPSetTileSize(1, 0, 0, 124, 124),
|
||||||
|
|
||||||
gsSPEndDisplayList(),
|
gsSPEndDisplayList(),
|
||||||
};
|
};
|
||||||
|
|
|
@ -2149,16 +2149,19 @@ const Gfx mario_m_logo_decal[] = {
|
||||||
gsDPSetPrimColor(0, 0, 127, 127, 127, 255),
|
gsDPSetPrimColor(0, 0, 127, 127, 127, 255),
|
||||||
gsSPLight(&mario_black_lights_group.l, 1),
|
gsSPLight(&mario_black_lights_group.l, 1),
|
||||||
gsSPCopyLightEXT(2, 15),
|
gsSPCopyLightEXT(2, 15),
|
||||||
|
|
||||||
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, mario_texture_m_logo),
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, mario_texture_m_logo),
|
||||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 0, 0, 7, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0),
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 0, 0, 7, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0),
|
||||||
gsDPLoadBlock(7, 0, 0, 1023, 256),
|
gsDPLoadBlock(7, 0, 0, 1023, 256),
|
||||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, 0, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0),
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 0, 0, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0),
|
||||||
gsDPSetTileSize(0, 0, 0, 124, 124),
|
gsDPSetTileSize(0, 0, 0, 124, 124),
|
||||||
|
|
||||||
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, mario_texture_m_blend),
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, mario_texture_m_blend),
|
||||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 0, 256, 6, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0),
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 0, 256, 6, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0, G_TX_WRAP | G_TX_NOMIRROR, 0, 0),
|
||||||
gsDPLoadBlock(6, 0, 0, 1023, 256),
|
gsDPLoadBlock(6, 0, 0, 1023, 256),
|
||||||
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 256, 1, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0),
|
gsDPSetTile(G_IM_FMT_RGBA, G_IM_SIZ_16b, 8, 256, 1, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0, G_TX_CLAMP | G_TX_NOMIRROR, 5, 0),
|
||||||
gsDPSetTileSize(1, 0, 0, 124, 124),
|
gsDPSetTileSize(1, 0, 0, 124, 124),
|
||||||
|
|
||||||
gsSPDisplayList(mario_m_logo_dl),
|
gsSPDisplayList(mario_m_logo_dl),
|
||||||
gsDPSetCycleType(G_CYC_1CYCLE),
|
gsDPSetCycleType(G_CYC_1CYCLE),
|
||||||
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
gsSPTexture(0xFFFF, 0xFFFF, 0, G_TX_RENDERTILE, G_OFF),
|
||||||
|
@ -4367,4 +4370,4 @@ const Gfx mario_material_revert_render_settings[] = {
|
||||||
gsDPSetTileSize(1, 0, 0, 124, 124),
|
gsDPSetTileSize(1, 0, 0, 124, 124),
|
||||||
|
|
||||||
gsSPEndDisplayList(),
|
gsSPEndDisplayList(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue