mirror of
https://github.com/HarbourMasters/Starship.git
synced 2025-03-13 19:34:03 +03:00
Fixed performance issues
This commit is contained in:
parent
b7740b11a0
commit
ada8e55fe8
@ -125,10 +125,9 @@ void Lib_Texture_Scroll(u16* texture, s32 width, s32 height, u8 mode) {
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// LTodo: we should only invalidate one texture
|
gSPInvalidateTexCache(gMasterDisp++, pixel);
|
||||||
gSPInvalidateTexCache(gMasterDisp++, NULL);
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Lib_Texture_Mottle(u16* dst, u16* src, u8 mode) {
|
void Lib_Texture_Mottle(u16* dst, u16* src, u8 mode) {
|
||||||
@ -191,8 +190,7 @@ void Lib_Texture_Mottle(u16* dst, u16* src, u8 mode) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// LTodo: we should only invalidate one texture
|
gSPInvalidateTexCache(gMasterDisp++, dst8);
|
||||||
gSPInvalidateTexCache(gMasterDisp++, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
s32 Animation_GetLimbIndex(Limb* limb, Limb** skeleton) {
|
s32 Animation_GetLimbIndex(Limb* limb, Limb** skeleton) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user