mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-03 00:16:36 -04:00
f_op debug work (#2991)
* f_op debug 1 * f_op debug 2 * f_op debug 3 * f_op debug 4 * f_op debug 5 * f_op_debug fix build * f_op linking * remove goto in fopac_create * fix regressions * fix regressions * pr comments
This commit is contained in:
+14
-9
@@ -6,31 +6,36 @@
|
||||
#include "f_op/f_op_view.h"
|
||||
#include "f_pc/f_pc_manager.h"
|
||||
|
||||
void fopVw_Draw(view_class* i_this) {
|
||||
fpcLf_DrawMethod(i_this->sub_method, i_this);
|
||||
s32 fopVw_Draw(view_class* i_this) {
|
||||
int ret = fpcLf_DrawMethod(i_this->sub_method, i_this);
|
||||
return ret;
|
||||
}
|
||||
|
||||
void fopVw_Execute(view_class* i_this) {
|
||||
fpcMtd_Execute(&i_this->sub_method->base, i_this);
|
||||
s32 fopVw_Execute(view_class* i_this) {
|
||||
int ret = fpcMtd_Execute(&i_this->sub_method->base, i_this);
|
||||
return ret;
|
||||
}
|
||||
|
||||
s32 fopVw_IsDelete(void* i_this) {
|
||||
view_class* a_this = (view_class*)i_this;
|
||||
return fpcMtd_IsDelete(&a_this->sub_method->base, a_this);
|
||||
int ret = fpcMtd_IsDelete(&((view_class*)i_this)->sub_method->base, i_this);
|
||||
return ret;
|
||||
}
|
||||
|
||||
s32 fopVw_Delete(view_class* i_this) {
|
||||
return fpcMtd_Delete(&i_this->sub_method->base, i_this);
|
||||
int ret = fpcMtd_Delete(&i_this->sub_method->base, i_this);
|
||||
return ret;
|
||||
}
|
||||
|
||||
s32 fopVw_Create(void* i_this) {
|
||||
view_class* a_this = (view_class*)i_this;
|
||||
int ret;
|
||||
|
||||
view_process_profile_definition* profile = (view_process_profile_definition*)fpcM_GetProfile(a_this);
|
||||
view_process_profile_definition* profile = (view_process_profile_definition*)fpcM_GetProfile(i_this);
|
||||
a_this->sub_method = profile->sub_method;
|
||||
a_this->field_0xc4 = profile->unk_0x28;
|
||||
|
||||
return fpcMtd_Create(&a_this->sub_method->base, a_this);
|
||||
ret = fpcMtd_Create(&a_this->sub_method->base, a_this);
|
||||
return ret;
|
||||
}
|
||||
|
||||
leafdraw_method_class g_fopVw_Method = {
|
||||
|
||||
Reference in New Issue
Block a user