summaryrefslogtreecommitdiff
path: root/src/c
diff options
context:
space:
mode:
authorPheenoh <pheenoh@gmail.com>2023-08-10 03:57:49 -0600
committerGitHub <noreply@github.com>2023-08-10 03:57:49 -0600
commitd24b09c2d9e303df68abd7f3417babfc00d83c78 (patch)
tree52f020141957595ac866109832723941a8f7025f /src/c
parent244892aeb849a9ad9801aa9828e6282d29df87f0 (diff)
d_file_select work + misc changes (#1873)
* setup TU * JASResArcLoader OK * d_a_obj_stoneMark work * some funcs in d_a_obj_stoneMark * many changes * quat, d_a_obj_stone, d_a_alink, fix python script, tidy makefile * d_file_select functions + pr cleanup * match many dfile_select_c methods * m_Do_main OK * selFileWakuAnm & bookIconAnm * selCopyFileWakuAnm & copyBookIconAnm * dataDelEffAnm & dataCopyEffAnm * selectDataBaseMoveAnmInitSet & selectDataBaseMoveAnm * dataSelectIn * _move & dataSelectInit * match a few more * comment * J2DPicture::drawTexCoord * draw_function * dScnPly_Create + fix typing on request_of_phase_process_fn * checkpoint * checkpoint * checkpoint * checkpoint 2 (fixed) * dFile_select_c::dataSelectAnmSet * dFile_select_c::selectDataOpenMove * dFile_select_c::copySelMoveAnmInitSet * fix brightcheck issues * rm comments, fix status update * small mod to pr template
Diffstat (limited to 'src/c')
-rw-r--r--src/c/c_dylink.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/c/c_dylink.cpp b/src/c/c_dylink.cpp
index a04d07d782..7e7138226d 100644
--- a/src/c/c_dylink.cpp
+++ b/src/c/c_dylink.cpp
@@ -982,8 +982,11 @@ int cDylPhs::phase_03(void* param_0) {
/* 8001884C-80018890 01318C 0044+00 0/0 2/2 0/0 .text
* Link__7cDylPhsFP30request_of_phase_process_classs */
int cDylPhs::Link(request_of_phase_process_class* i_phase, s16 param_1) {
- static int (*l_method[3])(void*) = {cDylPhs::phase_01, (int (*)(void*))cDylPhs::phase_02,
- cDylPhs::phase_03};
+ static request_of_phase_process_fn l_method[3] = {
+ (request_of_phase_process_fn)cDylPhs::phase_01,
+ (request_of_phase_process_fn)cDylPhs::phase_02,
+ (request_of_phase_process_fn)cDylPhs::phase_03
+ };
if (i_phase->id == cPhs_TWO_e) {
return cPhs_COMPLEATE_e;