mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2024-12-23 00:28:51 -05:00
[Fix] Dodongo boss battle crashing with only mq otr (#2020)
Co-authored-by: briaguya <briaguya>
This commit is contained in:
parent
b843937b34
commit
1bf5fb64a5
@ -118,7 +118,10 @@ void func_808C12C4(u8* arg1, s16 arg2) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void func_808C1554(void* arg0, void* floorTex, s32 arg2, f32 arg3) {
|
void func_808C1554(void* arg0, void* floorTex, s32 arg2, f32 arg3) {
|
||||||
arg0 = ResourceMgr_LoadTexByName(arg0);
|
// Entering the King Dodongo boss battle was crashing when using only an mq otr
|
||||||
|
// because it was trying to load a texture from a non-mq path
|
||||||
|
// HACK: LoadTexByName doesn't account for mq vs non-mq paths, LoadTexOrDListByName does.
|
||||||
|
arg0 = ResourceMgr_LoadTexOrDListByName(arg0);
|
||||||
floorTex = ResourceMgr_LoadTexByName(floorTex);
|
floorTex = ResourceMgr_LoadTexByName(floorTex);
|
||||||
|
|
||||||
u16* temp_s3 = SEGMENTED_TO_VIRTUAL(arg0);
|
u16* temp_s3 = SEGMENTED_TO_VIRTUAL(arg0);
|
||||||
|
Loading…
Reference in New Issue
Block a user