From 929c5cfa5a18effef4ef76e61282dd774b3deb1b Mon Sep 17 00:00:00 2001 From: TakaRikka <38417346+TakaRikka@users.noreply.github.com> Date: Mon, 4 Jul 2022 12:21:57 -0700 Subject: d_menu_save / pane_class / rename some data (#205) * work on fop actor / actor mng, daalink, d_a_obj_item * d_a_title mostly decompiled * daalink / d_event / JMessage / dmsg_out_font work * msg_scrn_base / msg_scrn_boss * some work on mDo machine, d_menu_save, d_tresure, and various * remove asm * progress * finish d_menu_save / d_pane_class_alpha / d_pane_class / rename some data * rename more data * remove asm / progress * match all of d_pane_class * fixes / some dKankyo doc --- src/m_Do/m_Do_dvd_thread.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'src/m_Do/m_Do_dvd_thread.cpp') diff --git a/src/m_Do/m_Do_dvd_thread.cpp b/src/m_Do/m_Do_dvd_thread.cpp index 57faf61141..78f702774a 100644 --- a/src/m_Do/m_Do_dvd_thread.cpp +++ b/src/m_Do/m_Do_dvd_thread.cpp @@ -13,6 +13,7 @@ #include "dolphin/os/OSThread.h" #include "dolphin/types.h" #include "m_Do/m_Do_ext.h" +#include "m_Do/m_Do_reset.h" // // Types: @@ -26,9 +27,6 @@ struct JASDvd { static JASTaskThread* getThreadPointer(); }; -extern "C" extern u8 struct_80450C80; -extern "C" extern u8 struct_80450C81; - // // Declarations: // @@ -132,7 +130,7 @@ void mDoDvdThd_param_c::mainLoop() { while (this->waitForKick() != 0) { while (mDoDvdThd_command_c* command = this->getFirstCommand()) { this->cut(command); - if (struct_80450C80 != 0) { + if (SyncWidthSound) { JASDvd::getThreadPointer()->sendCmdMsg(cb, &command, 4); } else { cb(&command); @@ -187,7 +185,7 @@ mDoDvdThd_mountArchive_c::mDoDvdThd_mountArchive_c(u8 param_0) { mArchive = NULL; mHeap = NULL; if (param_0 == 0) { - mMountDirection = struct_80450C81; + mMountDirection = sDefaultDirection; } } @@ -278,7 +276,7 @@ mDoDvdThd_mountXArchive_c::mDoDvdThd_mountXArchive_c(u8 param_0, JKRArchive::EMo mMountMode = param_1; mHeap = NULL; if (param_0 == 0) { - mMountDirection = struct_80450C81; + mMountDirection = sDefaultDirection; } } @@ -319,7 +317,7 @@ s32 mDoDvdThd_mountXArchive_c::execute() { mDoDvdThd_toMainRam_c::mDoDvdThd_toMainRam_c(u8 param_0) { mMountDirection = param_0; if (param_0 == 0) { - mMountDirection = struct_80450C81; + mMountDirection = sDefaultDirection; } } -- cgit v1.2.3