almost all of dolphin matched (#2036)

* TRK full match

* remove trk asm

* ar done

* cleanup some dolphin headers

* more dolphin cleanup

* cleanup / GD fully matched

* almost all of GX fully matched

* GX / Mtx full matched

* most of OS done

* pad done

* most of VI

* remove asm

* forgot couple vec funcs

* couple JUtility matches
This commit is contained in:
TakaRikka
2024-01-19 16:22:19 -08:00
committed by GitHub
parent f97fc769df
commit 981cfe7283
461 changed files with 11574 additions and 22635 deletions
+5 -5
View File
@@ -91,7 +91,7 @@ void dDrawPath_c::rendering(dDrawPath_c::line_class const* p_line) {
GXPosition1x16(*tmp);
tmp++;
}
i_GXEnd();
GXEnd();
}
}
}
@@ -110,7 +110,7 @@ void dDrawPath_c::rendering(dDrawPath_c::poly_class const* p_poly) {
GXPosition1x16(*tmp);
tmp++;
}
i_GXEnd();
GXEnd();
}
}
}
@@ -262,7 +262,7 @@ void dRenderingFDAmap_c::drawBack() const {
GXPosition3f32(field_0x8, -field_0xc, 0);
GXPosition3f32(field_0x8, field_0xc, 0);
GXPosition3f32(-field_0x8, field_0xc, 0);
i_GXEnd();
GXEnd();
}
/* 8003D188-8003D320 037AC8 0198+00 1/0 8/0 0/0 .text preRenderingMap__18dRenderingFDAmap_cFv */
@@ -297,7 +297,7 @@ void dRenderingFDAmap_c::preRenderingMap() {
void dRenderingFDAmap_c::postRenderingMap() {
GXSetCopyFilter(GX_FALSE, NULL, GX_FALSE, NULL);
GXSetTexCopySrc(0, 0, field_0x1c, field_0x1e);
GXSetTexCopyDst(field_0x1c, field_0x1e, _GX_CTF_R8, GX_FALSE);
GXSetTexCopyDst(field_0x1c, field_0x1e, GX_CTF_G8, GX_FALSE);
GXCopyTex(field_0x4, GX_TRUE);
GXPixModeSync();
GXSetClipMode(GX_CLIP_ENABLE);
@@ -363,7 +363,7 @@ void dRenderingFDAmap_c::renderingDecoration(dDrawPath_c::line_class const* p_li
GXBegin(GX_POINTS, GX_VTXFMT0, 1);
GXPosition1x16(data_p[0]);
GXTexCoord2f32(0, 0);
i_GXEnd();
GXEnd();
}
setTevSettingNonTextureDirectColor();
+5 -5
View File
@@ -862,13 +862,13 @@ void renderingDAmap_c::preDrawPath() {
GXClearVtxDesc();
GXSetVtxDesc(GX_VA_POS, GX_INDEX16);
GXSetVtxAttrFmt(GX_VTXFMT0, GX_VA_POS, GX_CLR_RGB, GX_F32, 0);
GXSetMisc(1, 8);
GXSetMisc(GX_MT_XF_FLUSH, 8);
}
/* 8003FFC4-8003FFEC 03A904 0028+00 3/0 3/0 0/0 .text postDrawPath__16renderingDAmap_cFv
*/
void renderingDAmap_c::postDrawPath() {
GXSetMisc(1, 0);
GXSetMisc(GX_MT_XF_FLUSH, 0);
}
/* 8003FFEC-8003FFF4 03A92C 0008+00 3/0 3/1 0/0 .text getRoomNoSingle__16renderingDAmap_cFv */
@@ -1154,7 +1154,7 @@ void renderingPlusDoor_c::drawNormalDoorS(stage_tgsc_data_class const* i_doorDat
GXPosition3f32(sp18[i].x, sp18[i].y, sp18[i].z);
GXTexCoord1x8(i);
}
i_GXEnd();
GXEnd();
}
/* 800409B4-800409E0 03B2F4 002C+00 3/0 2/0 0/0 .text isDrawRoomIcon__16renderingDAmap_cCFii */
@@ -1390,7 +1390,7 @@ void renderingPlusDoorAndCursor_c::drawIconSingle(Vec const& param_0, f32 param_
GXTexCoord1x8(i);
}
i_GXEnd();
GXEnd();
}
/* 800412C0-8004145C 03BC00 019C+00 1/1 0/0 0/0 .text
@@ -1430,7 +1430,7 @@ void renderingPlusDoorAndCursor_c::drawCursor(Vec const& param_0, s16 param_1, i
GXPosition2f32(offset[i].x, offset[i].z);
}
i_GXEnd();
GXEnd();
}
/* 8004145C-80041460 03BD9C 0004+00 2/0 0/0 0/0 .text beforeDrawPath__19renderingPlusDoor_cFv */