mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-11-29 12:52:18 -05:00
more mq only texture lookup fixes (#2803)
This commit is contained in:
parent
f27ef0ec3b
commit
2845a29e28
@ -1301,7 +1301,7 @@ void func_8009AFE0(PlayState* play) {
|
|||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
gSPSegment(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sThievesHideoutEntranceTextures[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sThievesHideoutEntranceTextures[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
CLOSE_DISPS(play->state.gfxCtx);
|
CLOSE_DISPS(play->state.gfxCtx);
|
||||||
}
|
}
|
||||||
@ -1746,7 +1746,7 @@ void func_8009D31C(PlayState* play) {
|
|||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
gSPSegment(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sLonLonHouseEntranceTextures[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sLonLonHouseEntranceTextures[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
gDPPipeSync(POLY_OPA_DISP++);
|
gDPPipeSync(POLY_OPA_DISP++);
|
||||||
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
||||||
@ -1778,8 +1778,8 @@ void func_8009D438(PlayState* play) {
|
|||||||
var = gSaveContext.nightFlag;
|
var = gSaveContext.nightFlag;
|
||||||
}
|
}
|
||||||
|
|
||||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sGuardHouseView1Textures[var]));
|
gSPSegmentLoadRes(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sGuardHouseView1Textures[var]));
|
||||||
gSPSegment(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(sGuardHouseView2Textures[var]));
|
gSPSegmentLoadRes(POLY_OPA_DISP++, 0x09, SEGMENTED_TO_VIRTUAL(sGuardHouseView2Textures[var]));
|
||||||
|
|
||||||
gDPPipeSync(POLY_OPA_DISP++);
|
gDPPipeSync(POLY_OPA_DISP++);
|
||||||
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
||||||
@ -1915,7 +1915,7 @@ void func_8009DD5C(PlayState* play) {
|
|||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sKakarikoWindowTextures[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sKakarikoWindowTextures[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
gDPPipeSync(POLY_OPA_DISP++);
|
gDPPipeSync(POLY_OPA_DISP++);
|
||||||
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
||||||
@ -2051,7 +2051,7 @@ void func_8009E730(PlayState* play) {
|
|||||||
gDPPipeSync(POLY_OPA_DISP++);
|
gDPPipeSync(POLY_OPA_DISP++);
|
||||||
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
||||||
|
|
||||||
gSPSegment(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sZorasDomainEntranceTextures[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sZorasDomainEntranceTextures[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
@ -2183,7 +2183,7 @@ void func_8009F1B4(PlayState* play) {
|
|||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(D_8012A380[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(D_8012A380[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
CLOSE_DISPS(play->state.gfxCtx);
|
CLOSE_DISPS(play->state.gfxCtx);
|
||||||
}
|
}
|
||||||
@ -2316,7 +2316,7 @@ void func_8009F9D0(PlayState* play) {
|
|||||||
gDPPipeSync(POLY_XLU_DISP++);
|
gDPPipeSync(POLY_XLU_DISP++);
|
||||||
gDPSetEnvColor(POLY_XLU_DISP++, 128, 128, 128, 128);
|
gDPSetEnvColor(POLY_XLU_DISP++, 128, 128, 128, 128);
|
||||||
|
|
||||||
gSPSegment(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sGoronCityEntranceTextures[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_XLU_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sGoronCityEntranceTextures[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
@ -2334,7 +2334,7 @@ void func_8009FB74(PlayState* play) {
|
|||||||
|
|
||||||
{ s32 pad[2]; }
|
{ s32 pad[2]; }
|
||||||
|
|
||||||
gSPSegment(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sLonLonRanchWindowTextures[gSaveContext.nightFlag]));
|
gSPSegmentLoadRes(POLY_OPA_DISP++, 0x08, SEGMENTED_TO_VIRTUAL(sLonLonRanchWindowTextures[gSaveContext.nightFlag]));
|
||||||
|
|
||||||
gDPPipeSync(POLY_OPA_DISP++);
|
gDPPipeSync(POLY_OPA_DISP++);
|
||||||
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
gDPSetEnvColor(POLY_OPA_DISP++, 128, 128, 128, 128);
|
||||||
|
Loading…
Reference in New Issue
Block a user