mirror of
https://github.com/zeldaret/tp
synced 2026-06-16 14:50:21 -04:00
d_a_e_pz equivalent (#2330)
* d_a_e_pz equivalent * rename var * match f_pc closer to debug * hopefully fix decompctx * sdk done * remove unneeded file
This commit is contained in:
@@ -45,4 +45,6 @@ int fpcBs_Delete(base_process_class* i_proc);
|
||||
base_process_class* fpcBs_Create(s16 i_profname, fpc_ProcID i_procID, void* i_append);
|
||||
int fpcBs_SubCreate(base_process_class* i_proc);
|
||||
|
||||
extern int g_fpcBs_type;
|
||||
|
||||
#endif
|
||||
|
||||
@@ -29,14 +29,14 @@ typedef struct create_request {
|
||||
/* 0x44 */ layer_class* layer;
|
||||
} create_request; // Size: 0x48
|
||||
|
||||
bool fpcCtRq_isCreatingByID(create_tag* i_createTag, fpc_ProcID* i_id);
|
||||
BOOL fpcCtRq_isCreatingByID(create_tag* i_createTag, fpc_ProcID* i_id);
|
||||
BOOL fpcCtRq_IsCreatingByID(fpc_ProcID i_id);
|
||||
void fpcCtRq_CreateQTo(create_request* i_request);
|
||||
void fpcCtRq_ToCreateQ(create_request* i_request);
|
||||
BOOL fpcCtRq_Delete(create_request* i_request);
|
||||
BOOL fpcCtRq_Cancel(create_request* i_request);
|
||||
BOOL fpcCtRq_IsDoing(create_request* i_request);
|
||||
void fpcCtRq_Handler();
|
||||
int fpcCtRq_Handler();
|
||||
create_request* fpcCtRq_Create(layer_class* i_layer, u32 i_size,
|
||||
create_request_method_class* i_methods);
|
||||
|
||||
|
||||
@@ -9,6 +9,6 @@ typedef struct base_process_class base_process_class;
|
||||
BOOL fpcCt_IsCreatingByID(fpc_ProcID id);
|
||||
BOOL fpcCt_IsDoing(base_process_class* pProc);
|
||||
BOOL fpcCt_Abort(base_process_class* pProc);
|
||||
void fpcCt_Handler();
|
||||
int fpcCt_Handler();
|
||||
|
||||
#endif
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
|
||||
#ifndef F_PC_DEBUG_SV_H_
|
||||
#define F_PC_DEBUG_SV_H_
|
||||
|
||||
#include <dolphin.h>
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
char* fpcDbSv_getNameString(s16 i_name);
|
||||
|
||||
typedef void (*fpcDbSv_callback)(void* i_process);
|
||||
extern const fpcDbSv_callback g_fpcDbSv_service[50];
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
@@ -42,7 +42,7 @@ s32 fpcLy_ToQueue(layer_class* i_layer, int treeListIdx, create_tag_class* i_cre
|
||||
s32 fpcLy_QueueTo(layer_class* i_layer, create_tag_class* i_createTag);
|
||||
|
||||
int fpcLy_Cancel(layer_class* i_layer);
|
||||
bool fpcLy_CancelMethod(process_method_tag_class* i_layer);
|
||||
BOOL fpcLy_CancelMethod(process_method_tag_class* i_layer);
|
||||
|
||||
void fpcLy_CancelQTo(process_method_tag_class* i_methods);
|
||||
s32 fpcLy_ToCancelQ(layer_class* i_layer, process_method_tag_class* i_methods);
|
||||
|
||||
@@ -36,6 +36,10 @@ typedef struct node_create_request {
|
||||
/* 0x58 */ s16 name;
|
||||
/* 0x5C */ void* data;
|
||||
/* 0x60 */ s16 unk_0x60;
|
||||
#ifdef DEBUG
|
||||
/* 0x64 */ int unk_0x64;
|
||||
/* 0x68 */ int unk_0x68;
|
||||
#endif
|
||||
} node_create_request; // Size: 0x64
|
||||
|
||||
typedef struct request_node_class {
|
||||
|
||||
@@ -10,17 +10,17 @@ enum {
|
||||
fpcPi_NONE_e = 0xFFFF,
|
||||
};
|
||||
|
||||
typedef struct process_priority_queue_info {
|
||||
typedef struct priority_id {
|
||||
/* 0x0 */ unsigned int layer_id;
|
||||
/* 0x4 */ u16 list_id;
|
||||
/* 0x6 */ u16 list_priority;
|
||||
} process_priority_queue_info;
|
||||
} priority_id;
|
||||
|
||||
typedef struct process_priority_class {
|
||||
/* 0x00 */ create_tag_class base;
|
||||
/* 0x14 */ process_method_tag_class method_tag;
|
||||
/* 0x30 */ process_priority_queue_info queue_info;
|
||||
/* 0x38 */ process_priority_queue_info current_info;
|
||||
/* 0x30 */ priority_id queue_info;
|
||||
/* 0x38 */ priority_id current_info;
|
||||
} process_priority_class;
|
||||
|
||||
s32 fpcPi_IsInQueue(process_priority_class* pPi);
|
||||
|
||||
@@ -14,6 +14,9 @@ typedef struct standard_create_request_class {
|
||||
/* 0x54 */ void* process_append;
|
||||
/* 0x58 */ stdCreateFunc create_post_method;
|
||||
/* 0x5C */ void* unk_0x5C;
|
||||
#ifdef DEBUG
|
||||
/* 0x60 */ int unk_0x60;
|
||||
#endif
|
||||
} standard_create_request_class;
|
||||
|
||||
s32 fpcSCtRq_phase_CreateProcess(standard_create_request_class* i_request);
|
||||
|
||||
Reference in New Issue
Block a user