mirror of
https://github.com/zeldaret/tp
synced 2026-08-03 08:53:16 -04:00
format
This commit is contained in:
@@ -4,11 +4,11 @@
|
||||
//
|
||||
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
#include "m_Do/m_Do_reset.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
#include "m_Do/m_Do_ext.h"
|
||||
#include "m_Do/m_Do_reset.h"
|
||||
|
||||
//
|
||||
// Declarations:
|
||||
@@ -34,7 +34,8 @@ void mDoDvdErr_ThdInit() {
|
||||
OSThread* curThread = OSGetCurrentThread();
|
||||
s32 priority = OSGetThreadPriority(curThread);
|
||||
|
||||
OSCreateThread(&DvdErr_thread, mDoDvdErr_Watch, NULL, DvdErr_stack + sizeof(DvdErr_stack), sizeof(DvdErr_stack), priority - 3, 1);
|
||||
OSCreateThread(&DvdErr_thread, mDoDvdErr_Watch, NULL, DvdErr_stack + sizeof(DvdErr_stack),
|
||||
sizeof(DvdErr_stack), priority - 3, 1);
|
||||
OSResumeThread(&DvdErr_thread);
|
||||
OSCreateAlarm(&Alarm);
|
||||
OSSetPeriodicAlarm(&Alarm, time, OS_BUS_CLOCK / 4, AlarmHandler);
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
//
|
||||
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "m_Do/m_Do_Audio.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "JSystem/JAudio2/JASDvdThread.h"
|
||||
#include "JSystem/JUtility/JUTGamePad.h"
|
||||
#include "JSystem/JUtility/JUTVideo.h"
|
||||
#include "JSystem/JUtility/JUTXfb.h"
|
||||
#include "JSystem/JAudio2/JASDvdThread.h"
|
||||
#include "SSystem/SComponent/c_API_controller_pad.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/gx/GX.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_Audio.h"
|
||||
#include "m_Do/m_Do_DVDError.h"
|
||||
#include "m_Do/m_Do_MemCard.h"
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
//
|
||||
|
||||
#include "m_Do/m_Do_audio.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
#include "m_Do/m_Do_Reset.h"
|
||||
#include "m_Do/m_Do_dvd_thread.h"
|
||||
#include "d/com/d_com_inf_game.h"
|
||||
|
||||
//
|
||||
// Types:
|
||||
@@ -156,7 +156,8 @@ static void mDoAud_Create() {
|
||||
}
|
||||
|
||||
if (l_arcCommand == NULL) {
|
||||
l_arcCommand = mDoDvdThd_mountXArchive_c::create("/Audiores/Seqs/Z2SoundSeqs.arc", 0, JKRArchive::MOUNT_DVD, NULL);
|
||||
l_arcCommand = mDoDvdThd_mountXArchive_c::create("/Audiores/Seqs/Z2SoundSeqs.arc", 0,
|
||||
JKRArchive::MOUNT_DVD, NULL);
|
||||
|
||||
if (l_arcCommand == NULL) {
|
||||
return;
|
||||
@@ -166,7 +167,9 @@ static void mDoAud_Create() {
|
||||
if (l_affCommand->sync() && l_arcCommand->sync()) {
|
||||
if (g_mDoAud_audioHeap != NULL) {
|
||||
s32 groupID = JKRHeap::sCurrentHeap->changeGroupID(5);
|
||||
(*(mDoAud_zelAudio_c*)g_mDoAud_zelAudio).mAudioMgr.init(g_mDoAud_audioHeap, 0xA00000, l_affCommand->getMemAddress(), l_arcCommand->getArchive());
|
||||
(*(mDoAud_zelAudio_c*)g_mDoAud_zelAudio)
|
||||
.mAudioMgr.init(g_mDoAud_audioHeap, 0xA00000, l_affCommand->getMemAddress(),
|
||||
l_arcCommand->getArchive());
|
||||
JKRHeap::sCurrentHeap->changeGroupID(groupID);
|
||||
g_mDoAud_audioHeap->adjustSize();
|
||||
} else {
|
||||
@@ -174,7 +177,8 @@ static void mDoAud_Create() {
|
||||
OSReport_Error("ヒープ確保失敗につきオーディオ初期化できません\n");
|
||||
}
|
||||
|
||||
(*(mDoAud_zelAudio_c*)g_mDoAud_zelAudio).mAudioMgr.mStatusMgr.setEventBit(dComIfGs_getPEventBit());
|
||||
(*(mDoAud_zelAudio_c*)g_mDoAud_zelAudio)
|
||||
.mAudioMgr.mStatusMgr.setEventBit(dComIfGs_getPEventBit());
|
||||
(*(mDoAud_zelAudio_c*)g_mDoAud_zelAudio).reset();
|
||||
|
||||
u32 soundMode = OSGetSoundMode();
|
||||
|
||||
@@ -3337,7 +3337,8 @@ extern "C" asm void func_80015034(void* _this, Vec const& param_0, f32 const (&p
|
||||
/* 8001505C-80015084 00F99C 0028+00 7/0 0/0 0/0 .text
|
||||
* init__73J3DMtxCalcNoAnm<27J3DMtxCalcCalcTransformMaya,24J3DMtxCalcJ3DSysInitMaya>FRC3VecRA3_A4_Cf
|
||||
*/
|
||||
void J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya, J3DMtxCalcJ3DSysInitMaya>::init(Vec const& param_0, f32 const (¶m_1)[3][4]) {
|
||||
void J3DMtxCalcNoAnm<J3DMtxCalcCalcTransformMaya, J3DMtxCalcJ3DSysInitMaya>::init(
|
||||
Vec const& param_0, f32 const (¶m_1)[3][4]) {
|
||||
J3DMtxCalcJ3DSysInitMaya::init(param_0, param_1);
|
||||
}
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user