mirror of
https://github.com/zeldaret/tp
synced 2026-08-29 01:02:03 -04:00
project cleanup (#2895)
* some wii OS fixes * remove old dol2asm comments * remove dol2asm.h * remove function address comments * normalize ATTRIBUTE_ALIGN usage * DECL_WEAK macro * fix gcc attribute weak macro * wrap more mwcc specific things in ifdefs * fixes * fix revo sdk version flags * fixes
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include "d/d_procname.h"
|
||||
|
||||
|
||||
/* 80D4F638-80D4F660 000078 0028+00 1/1 0/0 0/0 .text Create__10daSwTime_cFv */
|
||||
int daSwTime_c::Create() {
|
||||
mTime = getTime();
|
||||
mSwbit = getSwbit();
|
||||
@@ -17,7 +16,6 @@ int daSwTime_c::Create() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* 80D4F660-80D4F6C8 0000A0 0068+00 1/1 0/0 0/0 .text create__10daSwTime_cFv */
|
||||
int daSwTime_c::create() {
|
||||
fopAcM_ct(this, daSwTime_c);
|
||||
if (!Create()) {
|
||||
@@ -26,7 +24,6 @@ int daSwTime_c::create() {
|
||||
return cPhs_COMPLEATE_e;
|
||||
}
|
||||
|
||||
/* 80D4F6C8-80D4F758 000108 0090+00 1/1 0/0 0/0 .text execute__10daSwTime_cFv */
|
||||
int daSwTime_c::execute() {
|
||||
if (mSwbit2 != 0xFF && !fopAcM_isSwitch(this,mSwbit2)) {
|
||||
return 1;
|
||||
@@ -39,35 +36,28 @@ int daSwTime_c::execute() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* 80D4F758-80D4F760 000198 0008+00 1/1 0/0 0/0 .text _delete__10daSwTime_cFv */
|
||||
int daSwTime_c::_delete() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* 80D4F760-80D4F780 0001A0 0020+00 1/0 0/0 0/0 .text daSwTime_Execute__FP10daSwTime_c */
|
||||
static int daSwTime_Execute(daSwTime_c* i_this) {
|
||||
return i_this->execute();
|
||||
}
|
||||
|
||||
/* 80D4F780-80D4F7A0 0001C0 0020+00 1/0 0/0 0/0 .text daSwTime_Delete__FP10daSwTime_c */
|
||||
static int daSwTime_Delete(daSwTime_c* i_this) {
|
||||
return i_this->_delete();
|
||||
}
|
||||
|
||||
/* 80D4F7A0-80D4F7C0 0001E0 0020+00 1/0 0/0 0/0 .text daSwTime_Create__FP10daSwTime_c */
|
||||
static int daSwTime_Create(daSwTime_c* i_this) {
|
||||
return i_this->create();
|
||||
}
|
||||
|
||||
/* ############################################################################################## */
|
||||
/* 80D4F7C8-80D4F7E8 -00001 0020+00 1/0 0/0 0/0 .data l_daSwTime_Method */
|
||||
static actor_method_class l_daSwTime_Method = {
|
||||
(process_method_func)daSwTime_Create,
|
||||
(process_method_func)daSwTime_Delete,
|
||||
(process_method_func)daSwTime_Execute
|
||||
};
|
||||
|
||||
/* 80D4F7E8-80D4F818 -00001 0030+00 0/0 0/0 1/0 .data g_profile_SwTime */
|
||||
extern actor_process_profile_definition g_profile_SwTime = {
|
||||
fpcLy_CURRENT_e, // mLayerID
|
||||
7, // mListID
|
||||
|
||||
Reference in New Issue
Block a user