diff options
| author | TakaRikka <38417346+TakaRikka@users.noreply.github.com> | 2022-07-04 12:21:57 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-04 21:21:57 +0200 |
| commit | 929c5cfa5a18effef4ef76e61282dd774b3deb1b (patch) | |
| tree | 902fba539d9a30cc7aae3761f4ba5d2c34af83e8 /src/m_Do/m_Do_dvd_thread.cpp | |
| parent | b68cfbc0e6a66e9ef46ab01264dbe9e92b65bf8e (diff) | |
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
Diffstat (limited to 'src/m_Do/m_Do_dvd_thread.cpp')
| -rw-r--r-- | src/m_Do/m_Do_dvd_thread.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
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; } } |
