d_menu_dmap almost matching for demo

This commit is contained in:
LagoLunatic
2026-08-26 15:43:30 -04:00
parent 3688caff6e
commit 519652534f
15 changed files with 373 additions and 371 deletions
+1 -1
View File
@@ -326,7 +326,7 @@ void dMsg_screenDataSetItem(sub_msg_class* i_Msg) {
JUT_ASSERT(661, i_Msg->buffer_p != NULL);
if ((i_Msg->mMesgEntry.mTextboxType == 9) && (dItem_data::getTexture(i_Msg->mMsgNo - 101) != NULL)) {
JKRArchive* archive = dComIfGp_getItemIconArchive();
JKRArchive::readTypeResource(i_Msg->buffer_p, 0xc00, 'TIMG', dItem_data::getTexture(i_Msg->mMsgNo - 101), archive);
JKRReadTypeResource(i_Msg->buffer_p, 0xc00, 'TIMG', dItem_data::getTexture(i_Msg->mMsgNo - 101), archive);
((J2DPicture*)i_Msg->m0624[8].pane)->changeTexture(i_Msg->buffer_p, 0);
} else {
for (s32 i = 0; i < 10; i++) {