daPy_lk_c::draw and linkDraw matched on retail with (void)0 assert, d_a_figure OK

This commit is contained in:
LagoLunatic
2025-06-18 20:14:26 -04:00
parent 264ee5d6e1
commit ede01ca07b
9 changed files with 30 additions and 16 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ JAInter::SeParameter::SeParameter() {}
void JAInter::SeMgr::startSeSequence() {
seHandle = NULL;
JAIBasic::msBasic->startSoundActor(0x80000800, &seHandle, NULL, 1, 4);
JUT_ASSERT_MSG(149, JAISeMgr::seHandle, "SEシーケンスの再生に失敗しました。\n")
JUT_ASSERT_MSG(149, JAISeMgr::seHandle, "SEシーケンスの再生に失敗しました。\n");
}
/* 80293508-80293530 .text processGFrameSe__Q27JAInter5SeMgrFv */
+1 -1
View File
@@ -42,7 +42,7 @@ SoundInfo* JAInter::SoundTable::getInfoPointer(u32 param_1) {
switch (param_1 & JAISoundID_TypeMask) {
case JAISoundID_Type_Se:
_category = param_1 >> 12 & 0xff;
JUT_ASSERT_MSG(61, (_category<JAIGlobalParameter::getParamSeCategoryMax()), "getInfoPointer 登録されていないSEカテゴリーナンバーが指定されました。\n")
JUT_ASSERT_MSG(61, (_category<JAIGlobalParameter::getParamSeCategoryMax()), "getInfoPointer 登録されていないSEカテゴリーナンバーが指定されました。\n");
break;
case JAISoundID_Type_Sequence:
_category = 16;
-2
View File
@@ -1049,8 +1049,6 @@ static BOOL daSampleIsDelete(void*) {
/* 00001B08-00002148 .text linkDraw__FP14mDoExt_McaMorf */
void linkDraw(mDoExt_McaMorf* pMorf) {
/* Nonmatching - retail-only regalloc (maybe the same issue as daPy_lk_c::draw?) */
pMorf->calc();
#if VERSION > VERSION_DEMO
J3DModel* model = pMorf->getModel();
-1
View File
@@ -1671,7 +1671,6 @@ void daPy_lk_c::onBodyEffect() {
/* 80107308-80108204 .text draw__9daPy_lk_cFv */
BOOL daPy_lk_c::draw() {
/* Nonmatching - retail-only regalloc (maybe the same issue as linkDraw in d_a_obj_figure.cpp?) */
if (mSightPacket.getDrawFlg()) {
mSightPacket.setSight();
}