m_Do_ext retail linked + debug improvements (#3009)

This commit is contained in:
Max Roncace
2026-01-04 20:20:35 -05:00
committed by GitHub
parent 59fa5deb80
commit 124eb12f13
17 changed files with 901 additions and 499 deletions
@@ -33,6 +33,7 @@ public:
}
void setResTIMG(u16 index, const ResTIMG& timg) {
JUT_ASSERT_MSG(81, (bool)(index < mNum), "Error : range over.");
mpRes[index] = timg;
mpRes[index].imageOffset = ((mpRes[index].imageOffset + (uintptr_t)&timg - (uintptr_t)(mpRes + index)));
mpRes[index].paletteOffset = ((mpRes[index].paletteOffset + (uintptr_t)&timg - (uintptr_t)(mpRes + index)));