Prevent new caps from corrupting romhack graphics
This commit is contained in:
parent
8ad80f9128
commit
ac0049b9b2
|
@ -448,5 +448,18 @@ const Gfx luigi_cap_material_revert_render_settings[] = {
|
||||||
gsSPTexture(65535, 65535, 0, 0, 0),
|
gsSPTexture(65535, 65535, 0, 0, 0),
|
||||||
gsDPSetEnvColor(255, 255, 255, 255),
|
gsDPSetEnvColor(255, 255, 255, 255),
|
||||||
gsDPSetAlphaCompare(G_AC_NONE),
|
gsDPSetAlphaCompare(G_AC_NONE),
|
||||||
|
|
||||||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, 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),
|
||||||
|
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),
|
||||||
|
|
||||||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, 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),
|
||||||
|
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),
|
||||||
|
|
||||||
gsSPEndDisplayList(),
|
gsSPEndDisplayList(),
|
||||||
};
|
};
|
||||||
|
|
|
@ -476,5 +476,18 @@ const Gfx mario_cap_material_revert_render_settings[] = {
|
||||||
gsSPTexture(65535, 65535, 0, 0, 0),
|
gsSPTexture(65535, 65535, 0, 0, 0),
|
||||||
gsDPSetEnvColor(255, 255, 255, 255),
|
gsDPSetEnvColor(255, 255, 255, 255),
|
||||||
gsDPSetAlphaCompare(G_AC_NONE),
|
gsDPSetAlphaCompare(G_AC_NONE),
|
||||||
|
|
||||||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, 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),
|
||||||
|
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),
|
||||||
|
|
||||||
|
gsDPSetTextureImage(G_IM_FMT_RGBA, G_IM_SIZ_16b_LOAD_BLOCK, 1, 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),
|
||||||
|
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),
|
||||||
|
|
||||||
gsSPEndDisplayList(),
|
gsSPEndDisplayList(),
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue