mirror of
https://github.com/zeldaret/tp
synced 2026-07-11 15:28:38 -04:00
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:
+1
-1
@@ -10,7 +10,7 @@
|
||||
#include "JSystem/JUtility/JUTConsole.h"
|
||||
#include "stdio.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "d/msg/d_msg_object.h"
|
||||
#include "d/pane/d_pane_class.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "rel/d/a/d_a_crod/d_a_crod.h"
|
||||
#include "rel/d/a/d_a_horse/d_a_horse.h"
|
||||
#include "rel/d/a/d_a_mg_rod/d_a_mg_rod.h"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#include "d/bg/d_bg_s_sph_chk.h"
|
||||
#include "d/bg/d_bg_w.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dolphin/mtx/mtxvec.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
/* 800740F4-80074110 06EA34 001C+00 2/2 1/1 0/0 .text Init__11cBgS_ChkElmFv */
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
#include "d/d_timer.h"
|
||||
#include "d/map/d_map_path_dmap.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_op/f_op_scene_mng.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
#include "m_Do/m_Do_audio.h"
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "d/d_camera.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "d/a/d_a_alink.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
#include "d/d_demo.h"
|
||||
#include "d/msg/d_msg_object.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "global.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
|
||||
+43
-43
@@ -9,9 +9,9 @@
|
||||
#include "SSystem/SComponent/c_bg_s_shdw_draw.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/gx.h"
|
||||
#include "dolphin/mtx/mtx44.h"
|
||||
#include "dolphin/mtx/mtxvec.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
@@ -411,10 +411,10 @@ void dDlst_2DTri_c::draw() {
|
||||
GXLoadPosMtxImm(mDoMtx_getIdentity(), GX_PNMTX0);
|
||||
GXSetCurrentMtx(GX_PNMTX0);
|
||||
GXBegin(GX_TRIANGLES, GX_VTXFMT0, 3);
|
||||
i_GXPosition3s16(x[0], y[0], 0);
|
||||
i_GXPosition3s16(x[1], y[1], 0);
|
||||
i_GXPosition3s16(x[2], y[2], 0);
|
||||
i_GXEnd();
|
||||
GXPosition3s16(x[0], y[0], 0);
|
||||
GXPosition3s16(x[1], y[1], 0);
|
||||
GXPosition3s16(x[2], y[2], 0);
|
||||
GXEnd();
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
#else
|
||||
@@ -447,11 +447,11 @@ void dDlst_2DQuad_c::draw() {
|
||||
GXLoadPosMtxImm(mDoMtx_getIdentity(), GX_PNMTX0);
|
||||
GXSetCurrentMtx(GX_PNMTX0);
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
|
||||
i_GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
i_GXPosition3s16(field_0x8, field_0x6, 0);
|
||||
i_GXPosition3s16(field_0x8, field_0xa, 0);
|
||||
i_GXPosition3s16(field_0x4, field_0xa, 0);
|
||||
i_GXEnd();
|
||||
GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
GXPosition3s16(field_0x8, field_0x6, 0);
|
||||
GXPosition3s16(field_0x8, field_0xa, 0);
|
||||
GXPosition3s16(field_0x4, field_0xa, 0);
|
||||
GXEnd();
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
#else
|
||||
@@ -485,8 +485,8 @@ void dDlst_2DPoint_c::draw() {
|
||||
GXLoadPosMtxImm(mDoMtx_getIdentity(), GX_PNMTX0);
|
||||
GXSetCurrentMtx(GX_PNMTX0);
|
||||
GXBegin(GX_POINTS, GX_VTXFMT0, 1);
|
||||
i_GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
i_GXEnd();
|
||||
GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
GXEnd();
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
#else
|
||||
@@ -572,19 +572,19 @@ void dDlst_2DT_c::draw() {
|
||||
GXSetClipMode(GX_CLIP_DISABLE);
|
||||
GXSetCurrentMtx(GX_PNMTX0);
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
|
||||
i_GXPosition3s16(field_0x12, field_0x14, 0);
|
||||
GXPosition3s16(field_0x12, field_0x14, 0);
|
||||
GXColor1u32(0xffffffff);
|
||||
i_GXTexCoord2u16(var1, var2);
|
||||
i_GXPosition3s16(field_0x16, field_0x14, 0);
|
||||
GXTexCoord2u16(var1, var2);
|
||||
GXPosition3s16(field_0x16, field_0x14, 0);
|
||||
GXColor1u32(0xffffffff);
|
||||
i_GXTexCoord2u16(var3, var2);
|
||||
i_GXPosition3s16(field_0x16, field_0x18, 0);
|
||||
GXTexCoord2u16(var3, var2);
|
||||
GXPosition3s16(field_0x16, field_0x18, 0);
|
||||
GXColor1u32(0xffffffff);
|
||||
i_GXTexCoord2u16(var3, var4);
|
||||
i_GXPosition3s16(field_0x12, field_0x18, 0);
|
||||
GXTexCoord2u16(var3, var4);
|
||||
GXPosition3s16(field_0x12, field_0x18, 0);
|
||||
GXColor1u32(0xffffffff);
|
||||
i_GXTexCoord2u16(var1, var4);
|
||||
i_GXEnd();
|
||||
GXTexCoord2u16(var1, var4);
|
||||
GXEnd();
|
||||
GXSetClipMode(GX_CLIP_ENABLE);
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
@@ -695,7 +695,7 @@ void dDlst_2DT2_c::draw() {
|
||||
GXTexCoord2f32(f27, f25);
|
||||
GXPosition2f32(f29, f30);
|
||||
GXTexCoord2f32(f26, f25);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
} else if (field_0x44) {
|
||||
f32 f28 = field_0x24 + field_0x2c * 0.5f;
|
||||
f32 f29;
|
||||
@@ -730,7 +730,7 @@ void dDlst_2DT2_c::draw() {
|
||||
GXTexCoord2f32(f29, 1.0f);
|
||||
GXPosition2f32(f28, f30);
|
||||
GXTexCoord2f32(f27, 1.0f);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
} else if (field_0x45) {
|
||||
f32 f24 = field_0x28 + 0.5f * field_0x30;
|
||||
f32 f25;
|
||||
@@ -768,7 +768,7 @@ void dDlst_2DT2_c::draw() {
|
||||
GXTexCoord2f32(f26, f27);
|
||||
GXPosition2f32(field_0x24, f30);
|
||||
GXTexCoord2f32(f25, f27);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
} else {
|
||||
f32 f24;
|
||||
f32 f25;
|
||||
@@ -797,7 +797,7 @@ void dDlst_2DT2_c::draw() {
|
||||
GXTexCoord2f32(f25, f27);
|
||||
GXPosition2f32(field_0x24, f30);
|
||||
GXTexCoord2f32(f24, f27);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
GXSetClipMode(GX_CLIP_ENABLE);
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
@@ -1193,19 +1193,19 @@ void dDlst_2DM_c::draw() {
|
||||
GXSetTevAlphaOp(GX_TEVSTAGE1, GX_TEV_ADD, GX_TB_ZERO, GX_CS_SCALE_1, 1, GX_TEVPREV);
|
||||
GXSetBlendMode(GX_BM_BLEND, GX_BL_SRC_ALPHA, GX_BL_INV_SRC_ALPHA, GX_LO_SET);
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
|
||||
i_GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
GXTexCoord2s16(r31, r30);
|
||||
GXTexCoord2s16(r27, r26);
|
||||
i_GXPosition3s16(field_0x8, field_0x6, 0);
|
||||
GXPosition3s16(field_0x8, field_0x6, 0);
|
||||
GXTexCoord2s16(r29, r30);
|
||||
GXTexCoord2s16(r25, r26);
|
||||
i_GXPosition3s16(field_0x8, field_0xa, 0);
|
||||
GXPosition3s16(field_0x8, field_0xa, 0);
|
||||
GXTexCoord2s16(r29, r28);
|
||||
GXTexCoord2s16(r25, r24);
|
||||
i_GXPosition3s16(field_0x4, field_0xa, 0);
|
||||
GXPosition3s16(field_0x4, field_0xa, 0);
|
||||
GXTexCoord2s16(r31, r28);
|
||||
GXTexCoord2s16(r27, r24);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
#else
|
||||
@@ -1271,19 +1271,19 @@ void dDlst_2Dm_c::draw() {
|
||||
GXLoadPosMtxImm(g_mDoMtx_identity, GX_PNMTX0);
|
||||
GXSetCurrentMtx(0);
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
|
||||
i_GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
GXPosition3s16(field_0x4, field_0x6, 0);
|
||||
GXTexCoord2s16(r31, r30);
|
||||
GXTexCoord2s16(r27, r26);
|
||||
i_GXPosition3s16(field_0x8, field_0x6, 0);
|
||||
GXPosition3s16(field_0x8, field_0x6, 0);
|
||||
GXTexCoord2s16(r29, r30);
|
||||
GXTexCoord2s16(r25, r26);
|
||||
i_GXPosition3s16(field_0x8, field_0xa, 0);
|
||||
GXPosition3s16(field_0x8, field_0xa, 0);
|
||||
GXTexCoord2s16(r29, r28);
|
||||
GXTexCoord2s16(r25, r24);
|
||||
i_GXPosition3s16(field_0x4, field_0xa, 0);
|
||||
GXPosition3s16(field_0x4, field_0xa, 0);
|
||||
GXTexCoord2s16(r31, r28);
|
||||
GXTexCoord2s16(r27, r24);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
#else
|
||||
@@ -1337,7 +1337,7 @@ void dDlst_2DMt_c::draw() {
|
||||
GXSetNumTevStages(r28);
|
||||
GXSetBlendMode(GX_BM_BLEND, GX_BL_SRC_ALPHA, GX_BL_INV_SRC_ALPHA, GX_LO_SET);
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
|
||||
i_GXPosition3s16(field_0xc, field_0xe, 0);
|
||||
GXPosition3s16(field_0xc, field_0xe, 0);
|
||||
dDlst_2DMt_tex_c* tmp = field_0x8;
|
||||
for (int i = 0; i < field_0x4; i++) {
|
||||
if (tmp->check()) {
|
||||
@@ -1345,7 +1345,7 @@ void dDlst_2DMt_c::draw() {
|
||||
}
|
||||
tmp++;
|
||||
}
|
||||
i_GXPosition3s16(field_0x10, field_0xe, 0);
|
||||
GXPosition3s16(field_0x10, field_0xe, 0);
|
||||
tmp = field_0x8;
|
||||
for (int i = 0; i < field_0x4; i++) {
|
||||
if (tmp->check()) {
|
||||
@@ -1353,7 +1353,7 @@ void dDlst_2DMt_c::draw() {
|
||||
}
|
||||
tmp++;
|
||||
}
|
||||
i_GXPosition3s16(field_0x10, field_0x12, 0);
|
||||
GXPosition3s16(field_0x10, field_0x12, 0);
|
||||
tmp = field_0x8;
|
||||
for (int i = 0; i < field_0x4; i++) {
|
||||
if (tmp->check()) {
|
||||
@@ -1361,7 +1361,7 @@ void dDlst_2DMt_c::draw() {
|
||||
}
|
||||
tmp++;
|
||||
}
|
||||
i_GXPosition3s16(field_0xc, field_0x12, 0);
|
||||
GXPosition3s16(field_0xc, field_0x12, 0);
|
||||
tmp = field_0x8;
|
||||
for (int i = 0; i < field_0x4; i++) {
|
||||
if (tmp->check()) {
|
||||
@@ -1369,7 +1369,7 @@ void dDlst_2DMt_c::draw() {
|
||||
}
|
||||
tmp++;
|
||||
}
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
dComIfGp_getCurrentGrafPort()->setup2D();
|
||||
}
|
||||
}
|
||||
@@ -1619,7 +1619,7 @@ void dDlst_effectLine_c::draw() {
|
||||
GXBegin(GX_LINES, GX_VTXFMT0, 2);
|
||||
GXPosition3f32(local_68.x, local_68.y, local_68.z);
|
||||
GXPosition3f32(local_74.x, local_74.y, local_74.z);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
}
|
||||
#else
|
||||
@@ -1703,7 +1703,7 @@ void dDlst_shadowPoly_c::draw() {
|
||||
tri++;
|
||||
}
|
||||
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
|
||||
/* 80054478-800544F0 04EDB8 0078+00 1/1 0/0 0/0 .text J3DDrawBuffer__create__FUl */
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
#include "d/d_error_msg.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/J3DGraphBase/J3DTexture.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "d/s/d_s_play.h"
|
||||
|
||||
/* 8009C964-8009CA28 0972A4 00C4+00 0/0 2/2 0/0 .text entry__8dEyeHL_cFP12J3DModelDataPCc
|
||||
|
||||
@@ -224,7 +224,7 @@ void dDlst_Gameover_CAPTURE_c::draw() {
|
||||
GXPosition3s8(0, 1, -5);
|
||||
GXTexCoord2s8(0, 1);
|
||||
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
#else
|
||||
#pragma push
|
||||
|
||||
+2
-2
@@ -11,8 +11,8 @@
|
||||
#include "string.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/mtx/mtx.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "global.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "JSystem/J2DGraph/J2DAnimation.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "global.h"
|
||||
|
||||
//
|
||||
@@ -323,7 +323,7 @@ dSelect_cursor_c::dSelect_cursor_c(u8 param_0, f32 param_1, JKRArchive* param_2)
|
||||
}
|
||||
|
||||
mpSelectIcon = NULL;
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
if (strcmp(bpk_name[mNameIdx], "") != 0) {
|
||||
field_0x30 = (J2DAnmColor*)J2DAnmLoaderDataBase::load(JKRFileLoader::getGlbResource(bpk_name[mNameIdx], param_2));
|
||||
field_0x30->searchUpdateMaterialID(mpScreen);
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@
|
||||
#include "d/map/d_map_path_fmap.h"
|
||||
#include "d/save/d_save_HIO.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_op/f_op_kankyo_mng.h"
|
||||
#include "f_op/f_op_msg_mng.h"
|
||||
#include "f_op/f_op_scene_mng.h"
|
||||
|
||||
+1
-1
@@ -620,7 +620,7 @@ void dDlst_TimerScrnDraw_c::setScreen(s32 param_0, JKRArchive* i_archive) {
|
||||
JUT_ASSERT(fg != false);
|
||||
dPaneClass_showNullPane(mpGetInScreen);
|
||||
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
mpGetInBck = (J2DAnmTransform*)J2DAnmLoaderDataBase::load(
|
||||
JKRGetNameResource("zelda_game_image_cow_get_in.bck", mpArchive));
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "d/meter/d_meter2_info.h"
|
||||
#include "d/s/d_s_play.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/dvd/dvd.h"
|
||||
#include "dolphin/dvd.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
@@ -2863,7 +2863,7 @@ void dKyr_drawSibuki(Mtx param_0, u8** param_1) {
|
||||
|
||||
GXPosition3f32(sp7C.x, sp7C.y, sp7C.z);
|
||||
GXTexCoord2s16(0, 0x1FF);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
|
||||
GXSetClipMode(GX_CLIP_ENABLE);
|
||||
@@ -3282,7 +3282,7 @@ void dKyr_drawHousi(Mtx param_0, u8** param_1) {
|
||||
GXTexCoord2s16(var_r17, var_r17);
|
||||
GXPosition3f32(sp15C[3].x, sp15C[3].y, sp15C[3].z);
|
||||
GXTexCoord2s16(0, var_r17);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -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 */
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
#include "d/msg/d_msg_string.h"
|
||||
#include "d/pane/d_pane_class.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
@@ -1567,7 +1567,7 @@ asm void dMenu_Collect2D_c::screenSet() {
|
||||
// matches with literals
|
||||
#ifdef NONMATCHING
|
||||
void dMenu_Collect2D_c::animationSet() {
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
void* resource =
|
||||
JKRGetNameResource("zelda_collect_soubi_screen_revo.btk", dComIfGp_getCollectResArchive());
|
||||
mpAnmKey = (J2DAnmTextureSRTKey*)J2DAnmLoaderDataBase::load(resource);
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
#include "d/meter/d_meter_map.h"
|
||||
#include "d/msg/d_msg_object.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_op/f_op_msg_mng.h"
|
||||
#include "global.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
|
||||
@@ -76,7 +76,7 @@ dMeter2Draw_c::dMeter2Draw_c(JKRExpHeap* mp_heap) {
|
||||
mPikariBlack = static_cast<J2DPicture*>(mpPikariScreen->search('pika00'))->getBlack();
|
||||
mPikariWhite = static_cast<J2DPicture*>(mpPikariScreen->search('pika00'))->getWhite();
|
||||
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
void* pikari_bck = JKRGetNameResource("zelda_icon_pikari.bck", dComIfGp_getMain2DArchive());
|
||||
mPikariBck = (J2DAnmTransformKey*)J2DAnmLoaderDataBase::load(pikari_bck);
|
||||
playPikariBckAnimation(1.0f);
|
||||
@@ -810,7 +810,7 @@ void dMeter2Draw_c::initMagic() {
|
||||
mpMagicMeter = new CPaneMgr(mpKanteraScreen, 'mm_00', 0, NULL);
|
||||
JUT_ASSERT(mpMagicMeter != 0);
|
||||
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
|
||||
void* res = JKRFileLoader::getGlbResource("zelda_game_image_sanso_10percent.bpk",
|
||||
dComIfGp_getMain2DArchive());
|
||||
|
||||
@@ -36,7 +36,7 @@ int dMeterHaihai_c::_create() {
|
||||
mpParent = new CPaneMgr(mpHaihaiScreen, 'n_all', 2, NULL);
|
||||
JUT_ASSERT(mpParent != 0);
|
||||
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
mpCursorBck = (J2DAnmTransformKey*)J2DAnmLoaderDataBase::load(
|
||||
JKRGetNameResource("zelda_hihi_cursor.bck", dComIfGp_getMain2DArchive()));
|
||||
mBckFrame = 0.0f;
|
||||
|
||||
@@ -55,7 +55,7 @@ int dMeterString_c::_create() {
|
||||
JUT_ASSERT(fg != false);
|
||||
dPaneClass_showNullPane(mpScreen);
|
||||
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
mpGetInBck = (J2DAnmTransformKey*)J2DAnmLoaderDataBase::load(
|
||||
JKRGetNameResource("zelda_game_image_cow_get_in.bck", mpMapArchive));
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "d/msg/d_msg_object.h"
|
||||
#include "d/msg/d_msg_unit.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "JSystem/J2DGraph/J2DTextBox.h"
|
||||
#include "JSystem/JUtility/JUTFont.h"
|
||||
#include "d/msg/d_msg_out_font.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "d/meter/d_meter2_info.h"
|
||||
#include "d/msg/d_msg_class.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
|
||||
@@ -48,7 +48,7 @@ void dOvlpFd2_dlst_c::draw() {
|
||||
GXPosition2s16(mDoGph_gInf_c::getMaxX(), mDoGph_gInf_c::getMinY());
|
||||
GXPosition2s16(mDoGph_gInf_c::getMaxX(), mDoGph_gInf_c::getMaxY());
|
||||
GXPosition2s16(mDoGph_gInf_c::getMinX(), mDoGph_gInf_c::getMaxY());
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
|
||||
Mtx44 m;
|
||||
C_MTXPerspective(m, 60.0f, mDoGph_gInf_c::getWidthF() / mDoGph_gInf_c::getHeightF(), 100.0f,
|
||||
@@ -100,7 +100,7 @@ void dOvlpFd2_dlst_c::draw() {
|
||||
|
||||
GXPosition2s16(-mDoGph_gInf_c::getWidth() / 2, -mDoGph_gInf_c::getHeight() / 2);
|
||||
GXTexCoord2s8(0, 1);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
|
||||
J2DOrthoGraph* graf_ctx = (J2DOrthoGraph*)dComIfGp_getCurrentGrafPort();
|
||||
graf_ctx->setOrtho(mDoGph_gInf_c::getMinXF(), mDoGph_gInf_c::getMinYF(),
|
||||
|
||||
@@ -55,7 +55,7 @@ void dOvlpFd3_dlst_c::draw() {
|
||||
GXPosition2s16(mDoGph_gInf_c::getMaxX(), mDoGph_gInf_c::getMinY());
|
||||
GXPosition2s16(mDoGph_gInf_c::getMaxX(), mDoGph_gInf_c::getMaxY());
|
||||
GXPosition2s16(mDoGph_gInf_c::getMinX(), mDoGph_gInf_c::getMaxY());
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
|
||||
Mtx44 m;
|
||||
C_MTXPerspective(m, 60.0f, mDoGph_gInf_c::getWidthF() / mDoGph_gInf_c::getHeightF(), 100.0f,
|
||||
@@ -107,7 +107,7 @@ void dOvlpFd3_dlst_c::draw() {
|
||||
|
||||
GXPosition2s16(-mDoGph_gInf_c::getWidth() / 2, -mDoGph_gInf_c::getHeight() / 2);
|
||||
GXTexCoord2s8(0, 1);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
|
||||
J2DOrthoGraph* graf_ctx = (J2DOrthoGraph*)dComIfGp_getCurrentGrafPort();
|
||||
graf_ctx->setOrtho(mDoGph_gInf_c::getMinXF(), mDoGph_gInf_c::getMinYF(),
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "stdio.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "m_Do/m_Do_lib.h"
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
#include "m_Do/m_Do_graphic.h"
|
||||
#include "m_Do/m_Do_machine.h"
|
||||
#include "dolphin/os/OSRtc.h"
|
||||
#include "dolphin/vi/vi.h"
|
||||
#include "dolphin/vi.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "d/s/d_s_play.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "d/meter/d_meter2_info.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "rel/d/a/obj/d_a_obj_carry/d_a_obj_carry.h"
|
||||
|
||||
//
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include "d/d_path.h"
|
||||
#include "d/d_procname.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_op/f_op_actor.h"
|
||||
#include "f_op/f_op_scene_mng.h"
|
||||
#include "global.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JKernel/JKRAssertHeap.h"
|
||||
#include "JSystem/JKernel/JKRThread.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/dvd/dvd.h"
|
||||
#include "dolphin/dvd.h"
|
||||
#include "dolphin/os/OSAlarm.h"
|
||||
#include "dolphin/os/OSInterrupt.h"
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "JSystem/JKernel/JKRThread.h"
|
||||
#include "string.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/card/card.h"
|
||||
#include "dolphin/card.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_MemCardRWmng.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JUtility/JUTTexture.h"
|
||||
#include "stdio.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dolphin/card/card.h"
|
||||
#include "dolphin/card.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
|
||||
//
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
#include "JSystem/JUtility/JUTGamePad.h"
|
||||
#include "JSystem/JUtility/JUTXfb.h"
|
||||
#include "SSystem/SComponent/c_API_controller_pad.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/gx.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "m_Do/m_Do_audio.h"
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "JSystem/JKernel/JKRSolidHeap.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
|
||||
|
||||
@@ -125,6 +125,5 @@ void mDoCPd_c::LRlockCheck(interface_of_controller_pad* interface) {
|
||||
|
||||
void mDoCPd_c::recalibrate(void) {
|
||||
JUTGamePad::clearForReset();
|
||||
JUTGamePad::CRumble::setEnabled(
|
||||
PADMask(PAD_CHAN3_BIT | PAD_CHAN2_BIT | PAD_CHAN1_BIT | PAD_CHAN0_BIT));
|
||||
JUTGamePad::CRumble::setEnabled(PAD_CHAN3_BIT | PAD_CHAN2_BIT | PAD_CHAN1_BIT | PAD_CHAN0_BIT);
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
#include "JSystem/JKernel/JKRExpHeap.h"
|
||||
#include "JSystem/JKernel/JKRMemArchive.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/gx/GXDraw.h"
|
||||
#include "dolphin/mtx/mtx.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/mtx.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "global.h"
|
||||
#include "m_Do/m_Do_mtx.h"
|
||||
@@ -3846,7 +3846,7 @@ void drawCube(MtxP mtx, cXyz* pos, const GXColor& color) {
|
||||
GXPosition1x8(3);
|
||||
GXPosition1x8(0);
|
||||
GXPosition1x8(2);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
|
||||
void mDoExt_cubePacket::draw() {
|
||||
|
||||
+17
-17
@@ -379,7 +379,7 @@ static void darwFilter(GXColor matColor) {
|
||||
GXPosition3s8(1, 0, -5);
|
||||
GXPosition3s8(1, 1, -5);
|
||||
GXPosition3s8(0, 1, -5);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
#else
|
||||
#pragma push
|
||||
@@ -760,15 +760,15 @@ static void drawDepth2(view_class* param_0, view_port_class* param_1, int param_
|
||||
|
||||
if (l_tevColor0.a > -255) {
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 4);
|
||||
i_GXPosition3s16(x_orig, y_orig, -5);
|
||||
GXPosition3s16(x_orig, y_orig, -5);
|
||||
GXTexCoord2s8(0,0);
|
||||
i_GXPosition3s16(width, y_orig, -5);
|
||||
GXPosition3s16(width, y_orig, -5);
|
||||
GXTexCoord2s8(1,0);
|
||||
i_GXPosition3s16(width, height, -5);
|
||||
GXPosition3s16(width, height, -5);
|
||||
GXTexCoord2s8(1,1);
|
||||
i_GXPosition3s16(x_orig, height, -5);
|
||||
GXPosition3s16(x_orig, height, -5);
|
||||
GXTexCoord2s8(0,1);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
|
||||
GXSetTevSwapModeTable(GX_TEV_SWAP3, GX_CH_BLUE, GX_CH_BLUE, GX_CH_BLUE, GX_CH_ALPHA);
|
||||
@@ -850,15 +850,15 @@ static void trimming(view_class* param_0, view_port_class* param_1) {
|
||||
GXSetProjection(ortho, GX_ORTHOGRAPHIC);
|
||||
GXSetCurrentMtx(0);
|
||||
GXBegin(GX_QUADS, GX_VTXFMT0, 8);
|
||||
i_GXPosition3s16(0, 0, -5);
|
||||
i_GXPosition3s16(0x260, 0, -5);
|
||||
i_GXPosition3s16(0x280, sc_top, -5);
|
||||
i_GXPosition3s16(0, sc_top, -5);
|
||||
i_GXPosition3s16(0, sc_bottom, -5);
|
||||
i_GXPosition3s16(0x280, sc_bottom, -5);
|
||||
i_GXPosition3s16(0x280, 0x1c0, -5);
|
||||
i_GXPosition3s16(0, 0x1c8, -5);
|
||||
i_GXEnd();
|
||||
GXPosition3s16(0, 0, -5);
|
||||
GXPosition3s16(0x260, 0, -5);
|
||||
GXPosition3s16(0x280, sc_top, -5);
|
||||
GXPosition3s16(0, sc_top, -5);
|
||||
GXPosition3s16(0, sc_bottom, -5);
|
||||
GXPosition3s16(0x280, sc_bottom, -5);
|
||||
GXPosition3s16(0x280, 0x1c0, -5);
|
||||
GXPosition3s16(0, 0x1c8, -5);
|
||||
GXEnd();
|
||||
}
|
||||
GXSetScissor(param_1->mScissor.mXOrig, param_1->mScissor.mYOrig,
|
||||
param_1->mScissor.mWidth, param_1->mScissor.mHeight);
|
||||
@@ -885,7 +885,7 @@ void mDoGph_drawFilterQuad(s8 param_0, s8 param_1) {
|
||||
GXTexCoord2s8(1, 1);
|
||||
GXPosition2s8(0, param_1);
|
||||
GXTexCoord2s8(0, 1);
|
||||
i_GXEnd();
|
||||
GXEnd();
|
||||
}
|
||||
|
||||
/* 80009544-800095F8 003E84 00B4+00 0/0 1/1 0/0 .text create__Q213mDoGph_gInf_c7bloom_cFv
|
||||
@@ -1155,7 +1155,7 @@ static void retry_captue_frame(view_class* param_0, view_port_class* param_1, in
|
||||
}
|
||||
|
||||
GXSetTexCopySrc(x_orig, y_orig_pos, width, height);
|
||||
GXSetTexCopyDst(width >> 1, height >> 1, mDoGph_gInf_c::getFrameBufferTimg()->format,
|
||||
GXSetTexCopyDst(width >> 1, height >> 1, (GXTexFmt)mDoGph_gInf_c::getFrameBufferTimg()->format,
|
||||
GX_TRUE);
|
||||
GXCopyTex(tex, GX_FALSE);
|
||||
GXPixModeSync();
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "SSystem/SComponent/c_malloc.h"
|
||||
#include "SSystem/SComponent/c_math.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
@@ -531,8 +531,8 @@ SECTION_DEAD static char const* const stringBase_8037409E = "/map/Final/Release/
|
||||
#pragma pop
|
||||
|
||||
/* 803A2F60-803A2F9C 000080 003C+00 1/0 0/0 0/0 .data g_ntscZeldaIntDf */
|
||||
static _GXRenderModeObj g_ntscZeldaIntDf = {
|
||||
0,
|
||||
extern GXRenderModeObj g_ntscZeldaIntDf = {
|
||||
VI_TVMODE_NTSC_INT,
|
||||
608,
|
||||
448,
|
||||
448,
|
||||
@@ -540,7 +540,7 @@ static _GXRenderModeObj g_ntscZeldaIntDf = {
|
||||
16,
|
||||
666,
|
||||
448,
|
||||
1,
|
||||
VI_XFBMODE_DF,
|
||||
0,
|
||||
0,
|
||||
{{6, 6},
|
||||
@@ -559,8 +559,8 @@ static _GXRenderModeObj g_ntscZeldaIntDf = {
|
||||
};
|
||||
|
||||
/* 803A2F9C-803A2FD8 0000BC 003C+00 1/1 1/1 0/0 .data g_ntscZeldaProg */
|
||||
extern _GXRenderModeObj g_ntscZeldaProg = {
|
||||
2,
|
||||
extern GXRenderModeObj g_ntscZeldaProg = {
|
||||
VI_TVMODE_NTSC_PROG,
|
||||
608,
|
||||
448,
|
||||
448,
|
||||
@@ -568,7 +568,7 @@ extern _GXRenderModeObj g_ntscZeldaProg = {
|
||||
16,
|
||||
666,
|
||||
448,
|
||||
0,
|
||||
VI_XFBMODE_SF,
|
||||
0,
|
||||
0,
|
||||
{{6, 6},
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
#include "Z2AudioLib/Z2WolfHowlMgr.h"
|
||||
#include "c/c_dylink.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "f_ap/f_ap_game.h"
|
||||
#include "f_op/f_op_actor_mng.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "stdio.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/base/PPCArch.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
|
||||
/* 80450B98-80450B9C -00001 0004+00 0/0 6/6 0/0 .sbss None */
|
||||
@@ -131,7 +131,7 @@ void mDoPrintf_vprintf(char const* fmt, va_list args) {
|
||||
mDoPrintf_vprintf_Interrupt(fmt, args);
|
||||
} else {
|
||||
u8* stackPtr = OSGetStackPointer();
|
||||
if (stackPtr < currentThread->stack_end + 0xA00 || stackPtr > currentThread->stack_base) {
|
||||
if (stackPtr < (u8*)currentThread->stack_end + 0xA00 || stackPtr > currentThread->stack_base) {
|
||||
mDoPrintf_vprintf_Interrupt(fmt, args);
|
||||
} else {
|
||||
mDoPrintf_vprintf_Thread(fmt, args);
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "d/pane/d_pane_class.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
/* 8023B9B4-8023BC78 2362F4 02C4+00 0/0 4/4 0/0 .text __ct__15dMsgScrnArrow_cFv */
|
||||
@@ -13,7 +13,7 @@ dMsgScrnArrow_c::dMsgScrnArrow_c() {
|
||||
mScreen = new J2DScreen();
|
||||
mScreen->setPriority("zelda_window_yajirushi.blo", 0x20000, dComIfGp_getMsgArchive(0));
|
||||
dPaneClass_showNullPane(mScreen);
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
|
||||
mAnmBck = (J2DAnmTransform*)J2DAnmLoaderDataBase::load(
|
||||
JKRFileLoader::getGlbResource("zelda_window_yajirushi.bck", dComIfGp_getMsgArchive(0)));
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
#include "d/d_lib.h"
|
||||
#include "m_Do/m_Do_controller_pad.h"
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
#include "d/pane/d_pane_class.h"
|
||||
#include "d/msg/d_msg_object.h"
|
||||
#include "d/msg/d_msg_out_font.h"
|
||||
#include "dolphin/os/OS.h"
|
||||
#include "dolphin/os.h"
|
||||
#include "JSystem/JKernel/JKRExpHeap.h"
|
||||
#include "JSystem/J2DGraph/J2DScreen.h"
|
||||
#include "JSystem/J2DGraph/J2DAnmLoader.h"
|
||||
@@ -53,7 +53,7 @@ dMsgScrnTree_c::dMsgScrnTree_c(JUTFont* param_0, JKRExpHeap* param_1) {
|
||||
mpScreen = new J2DScreen();
|
||||
mpScreen->setPriority("zelda_kanban_wood_a.blo", 0x1020000, dComIfGp_getMsgArchive(2));
|
||||
dPaneClass_showNullPane(mpScreen);
|
||||
i_OSInitFastCast();
|
||||
OSInitFastCast();
|
||||
field_0xcc = (J2DAnmTransform*) J2DAnmLoaderDataBase::load(JKRGetNameResource("zelda_kanban_wood_a.bck", dComIfGp_getMsgArchive(2)));
|
||||
field_0xd0 = (J2DAnmTextureSRTKey*) J2DAnmLoaderDataBase::load(JKRGetNameResource("zelda_kanban_wood_a.btk", dComIfGp_getMsgArchive(2)));
|
||||
field_0xd0->searchUpdateMaterialID(mpScreen);
|
||||
|
||||
Reference in New Issue
Block a user