summaryrefslogtreecommitdiff
path: root/src/m_Do/m_Do_machine_exception.cpp
diff options
context:
space:
mode:
authorjdflyer <jdflyer10@gmail.com>2023-02-13 21:18:12 +0000
committerjdflyer <jdflyer10@gmail.com>2023-02-13 21:51:27 +0000
commit5e8381337290de3b0dfa77c7cffae990a00046e1 (patch)
tree965b117e7d201029bb383f871fac959993376189 /src/m_Do/m_Do_machine_exception.cpp
parentd5f5d4c3b334ee1d0390196f3a781350b41f84ad (diff)
m_Do cleanup and c_dylink process names
Diffstat (limited to 'src/m_Do/m_Do_machine_exception.cpp')
-rw-r--r--src/m_Do/m_Do_machine_exception.cpp36
1 files changed, 6 insertions, 30 deletions
diff --git a/src/m_Do/m_Do_machine_exception.cpp b/src/m_Do/m_Do_machine_exception.cpp
index 8a3ef899bf..8c34de424d 100644
--- a/src/m_Do/m_Do_machine_exception.cpp
+++ b/src/m_Do/m_Do_machine_exception.cpp
@@ -1,7 +1,7 @@
-//
-// Generated By: dol2asm
-// Translation Unit: m_Do/m_Do_machine_exception
-//
+/**
+ * m_Do_machine_exception.cpp
+ * Exception Print Functions
+ */
#include "m_Do/m_Do_machine_exception.h"
#include "JSystem/JFramework/JFWSystem.h"
@@ -13,32 +13,10 @@
#include "dolphin/types.h"
#include "m_Do/m_Do_ext.h"
#include "m_Do/m_Do_main.h"
-
-//
-// Types:
-//
-
-struct DynamicModuleControlBase {
- /* 80262470 */ void dump();
-};
-
-//
-// External References:
-//
-
-extern "C" void dump__24DynamicModuleControlBaseFv();
-
-//
-// Declarations:
-//
+#include "DynamicLink.h"
static JUTConsole* sConsole;
-#pragma push
-#pragma force_active on
-u8 struct_80450C94[4];
-#pragma pop
-
void print_f(char const* fmt, ...) {
va_list args;
va_start(args, fmt);
@@ -73,7 +51,7 @@ void dispHeapInfo() {
if (JKRAram::getAramHeap()) {
JKRAram::getAramHeap()->dump();
}
- dump__24DynamicModuleControlBaseFv();
+ DynamicModuleControlBase::dump();
g_dComIfG_gameInfo.mResControl.dump();
zelda->dump_sort();
@@ -120,5 +98,3 @@ void exception_addition(JUTConsole* pConsole) {
dispConsoleToTerminal();
dispGameInfo();
}
-
-/* 80374460-80374460 000AC0 0000+00 0/0 0/0 0/0 .rodata @stringBase0 */