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,20 +7,6 @@
|
||||
#include "dol2asm.h"
|
||||
#include "dolphin/types.h"
|
||||
|
||||
//
|
||||
// Forward References:
|
||||
//
|
||||
|
||||
extern "C" void OSInitAlarm();
|
||||
extern "C" void OSCreateAlarm();
|
||||
extern "C" static void InsertAlarm();
|
||||
extern "C" void OSSetAlarm();
|
||||
extern "C" void OSSetPeriodicAlarm();
|
||||
extern "C" void OSCancelAlarm();
|
||||
extern "C" static void DecrementerExceptionCallback();
|
||||
extern "C" static void DecrementerExceptionHandler();
|
||||
extern "C" static void OnReset();
|
||||
|
||||
//
|
||||
// External References:
|
||||
//
|
||||
@@ -37,8 +23,6 @@ extern "C" void OSRegisterResetFunction();
|
||||
extern "C" void OSDisableScheduler();
|
||||
extern "C" void OSEnableScheduler();
|
||||
extern "C" void __OSReschedule();
|
||||
extern "C" void __OSGetSystemTime();
|
||||
extern "C" void __OSTimeToSystemTime();
|
||||
extern "C" void __DVDTestAlarm();
|
||||
extern "C" void __div2i();
|
||||
|
||||
@@ -62,7 +46,7 @@ static u8 AlarmQueue[8];
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSInitAlarm() {
|
||||
asm void OSInitAlarm(void) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/OSInitAlarm.s"
|
||||
}
|
||||
@@ -72,7 +56,7 @@ asm void OSInitAlarm() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSCreateAlarm() {
|
||||
asm void OSCreateAlarm(OSAlarm* alarm) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/OSCreateAlarm.s"
|
||||
}
|
||||
@@ -82,7 +66,7 @@ asm void OSCreateAlarm() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
static asm void InsertAlarm() {
|
||||
static asm void InsertAlarm(OSAlarm* alarm, s64 time, OSAlarmHandler* handler) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/InsertAlarm.s"
|
||||
}
|
||||
@@ -92,7 +76,7 @@ static asm void InsertAlarm() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSSetAlarm() {
|
||||
asm void OSSetAlarm(OSAlarm* alarm, s64 time, OSAlarmHandler* handler) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/OSSetAlarm.s"
|
||||
}
|
||||
@@ -102,7 +86,7 @@ asm void OSSetAlarm() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSSetPeriodicAlarm() {
|
||||
asm void OSSetPeriodicAlarm(OSAlarm* alarm, s64 start, s64 period, OSAlarmHandler* handler) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/OSSetPeriodicAlarm.s"
|
||||
}
|
||||
@@ -112,7 +96,7 @@ asm void OSSetPeriodicAlarm() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
asm void OSCancelAlarm() {
|
||||
asm void OSCancelAlarm(OSAlarm* alarm) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/OSCancelAlarm.s"
|
||||
}
|
||||
@@ -122,7 +106,7 @@ asm void OSCancelAlarm() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
static asm void DecrementerExceptionCallback() {
|
||||
static asm void DecrementerExceptionCallback(OSException* exception, struct OSContext* context) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/DecrementerExceptionCallback.s"
|
||||
}
|
||||
@@ -132,7 +116,7 @@ static asm void DecrementerExceptionCallback() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
static asm void DecrementerExceptionHandler() {
|
||||
static asm void DecrementerExceptionHandler(OSException* exception, struct OSContext* context) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/DecrementerExceptionHandler.s"
|
||||
}
|
||||
@@ -142,7 +126,7 @@ static asm void DecrementerExceptionHandler() {
|
||||
#pragma push
|
||||
#pragma optimization_level 0
|
||||
#pragma optimizewithasm off
|
||||
static asm void OnReset() {
|
||||
static asm s32 OnReset(s32 param_0) {
|
||||
nofralloc
|
||||
#include "asm/dolphin/os/OSAlarm/OnReset.s"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user