diff options
| author | TakaRikka <takarikka@outlook.com> | 2022-06-01 04:23:39 -0700 |
|---|---|---|
| committer | TakaRikka <takarikka@outlook.com> | 2022-06-01 04:23:39 -0700 |
| commit | 32cea78625839c5285a5f22eec6e7bbeef005c3c (patch) | |
| tree | 6171308ac96c3cbb1917c43167ac09dc86135df1 /src/m_Do/m_Do_main.cpp | |
| parent | 3f22fa448376893fffd83815ecd4cdccb197f1a4 (diff) | |
format
Diffstat (limited to 'src/m_Do/m_Do_main.cpp')
| -rw-r--r-- | src/m_Do/m_Do_main.cpp | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/m_Do/m_Do_main.cpp b/src/m_Do/m_Do_main.cpp index 86f291d94c..46981db166 100644 --- a/src/m_Do/m_Do_main.cpp +++ b/src/m_Do/m_Do_main.cpp @@ -4,6 +4,7 @@ // #include "m_Do/m_Do_main.h" +#include "DynamicLink.h" #include "JSystem/JFramework/JFWSystem.h" #include "JSystem/JKernel/JKRAram.h" #include "JSystem/JUtility/JUTAssert.h" @@ -18,7 +19,6 @@ #include "m_Do/m_Do_dvd_thread.h" #include "m_Do/m_Do_graphic.h" #include "m_Do/m_Do_machine.h" -#include "DynamicLink.h" // // Forward References: @@ -389,7 +389,8 @@ bool Debug_console(u32 i_padNo) { console_scroll_init = 1; } - if (mDoCPd_c::getTrig(i_padNo) & CButton::Z && !(mDoCPd_c::getHold(i_padNo) & ~CButton::Z)) { + if (mDoCPd_c::getTrig(i_padNo) & CButton::Z && + !(mDoCPd_c::getHold(i_padNo) & ~CButton::Z)) { console->setVisible(console->isVisible() == false); JUTAssertion::setMessageCount(0); } @@ -440,9 +441,8 @@ bool Debug_console(u32 i_padNo) { JUTReport(30, 390, 1, "Press X+Y+START to CLEAR console."); JUTReport(30, 400, 1, "3DStick UP/Down to scroll"); JUTReport(30, 410, 1, "Press A to output terminal from console."); - JUTReport(30, 420, 1, "SCROLL:%3d %3d %3d Output=%1x", - console->getLineOffset(), console->getPositionX(), - console->getPositionY(), console->getOutput()); + JUTReport(30, 420, 1, "SCROLL:%3d %3d %3d Output=%1x", console->getLineOffset(), + console->getPositionX(), console->getPositionY(), console->getOutput()); } else { u32 pressButtons = mDoCPd_c::getTrig(i_padNo); @@ -527,7 +527,8 @@ static void debug() { if (struct_80450B18) { if ((mDoCPd_c::getGamePad(PAD_3)->getButton() & ~CButton::Z) == CButton::L && mDoCPd_c::getGamePad(PAD_3)->testTrigger(CButton::Z)) { - mDoMain::mHeapBriefType < 5 ? mDoMain::mHeapBriefType++ : mDoMain::mHeapBriefType = 1; + mDoMain::mHeapBriefType < 5 ? mDoMain::mHeapBriefType++ : + mDoMain::mHeapBriefType = 1; } debugDisplay(); |
