mirror of
https://github.com/zeldaret/tp
synced 2026-07-31 00:04:58 -04:00
j2d / map_path work, d_drawlist / d_attention cleanup (#208)
* 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 * bunch of j2d work. d_drawlist / d_attention cleanup * progress / asm * cleanup wip * decompile JStage * setup some more JStudio structs * set up d_demo classes * some d_demo work * cleanup dolphin os stuff * some initial dEvent documentation * some At collision documentation * match JUTConsole::doDraw * dbgs work / split up some of d_a_alink into .inc files * d_a_alink_spinner work
This commit is contained in:
@@ -7,18 +7,6 @@
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
extern "C" void OSRegisterResetFunction();
|
||||
extern "C" void __OSCallResetFunctions();
|
||||
extern "C" static void Reset();
|
||||
extern "C" static void KillThreads();
|
||||
extern "C" void __OSDoHotReset();
|
||||
extern "C" void OSResetSystem();
|
||||
extern "C" void OSGetResetCode();
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
@@ -51,7 +39,7 @@ static u8 ResetFunctionQueue[8];
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSRegisterResetFunction() {
|
||||
asm void OSRegisterResetFunction(OSResetFunctionInfo* info) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/OSRegisterResetFunction.s"
|
||||
}
|
||||
@@ -61,7 +49,7 @@ asm void OSRegisterResetFunction() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void __OSCallResetFunctions() {
|
||||
asm BOOL __OSCallResetFunctions(s32 param_0) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/__OSCallResetFunctions.s"
|
||||
}
|
||||
@@ -71,7 +59,7 @@ asm void __OSCallResetFunctions() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
static asm void Reset() {
|
||||
static asm void Reset(s32 param_0) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/Reset.s"
|
||||
}
|
||||
@@ -81,7 +69,7 @@ static asm void Reset() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
static asm void KillThreads() {
|
||||
static asm void KillThreads(void) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/KillThreads.s"
|
||||
}
|
||||
@@ -91,7 +79,7 @@ static asm void KillThreads() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void __OSDoHotReset() {
|
||||
asm void __OSDoHotReset(s32 param_0) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/__OSDoHotReset.s"
|
||||
}
|
||||
@@ -190,7 +178,7 @@ static u8 bootThisDol[4 + 4 /* padding */];
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSResetSystem() {
|
||||
asm void OSResetSystem(s32 reset, u32 resetCode, BOOL forceMenu) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/OSResetSystem.s"
|
||||
}
|
||||
@@ -200,7 +188,7 @@ asm void OSResetSystem() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSGetResetCode() {
|
||||
asm u32 OSGetResetCode(void) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSReset/OSGetResetCode.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user