diff options
| author | lepelog <lepelog@users.noreply.github.com> | 2021-01-07 02:04:53 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-06 20:04:53 -0500 |
| commit | 0cf65151b3a1a85a5d3ad74a367045e596aee1aa (patch) | |
| tree | 9ac4f66b24945629766d587a9514ad513b11241c /src/f/f_pc/f_pc_create_req.cpp | |
| parent | 792509e0a15687b76bee216440ccd3d90554f37e (diff) | |
Split SComponent (#45)
* split c_math
* split c_angle
* split c_API_controller_pad
* split c_API_graphic
* split c_bg_s_chk
* c_bg_s_gnd_chk split
* more c_bg split
* split c_cc_d
* delete asm
* split c_cc_s
* split c_lib
* split c_m2d and c_m3d_g_aab
* split c_m3d_g_cir
* split c_m3d_g_cps
* split rest of c_m3d_g
* split c_m3d
* split c_malloc
* split c_request
* split c_sxyz
* split and partly decompile c_xyz
* format
* c_angle.h
* begin c_angle decomp
* c_angle
* progress adding stub classes for SComponent
* more c_m3d
* remove some asm and format
* more m3d headers
* more c_angle decomp
* c_lib headers
* add public to classes
* fix csXyz member names
* c_sxyz partly OK
* move Zero csXyz to c_sxyz header
* c_API_graphic
* delete some unused asm
* move math extern data, decompile some functions
* delete unused asm
* fix duplicated c_angle.h
* fix an inlined function name, add more inlined functions for c_angle.h (currently unused)
* format
Co-authored-by: Pheenoh <pheenoh@gmail.com>
Diffstat (limited to 'src/f/f_pc/f_pc_create_req.cpp')
| -rw-r--r-- | src/f/f_pc/f_pc_create_req.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/f/f_pc/f_pc_create_req.cpp b/src/f/f_pc/f_pc_create_req.cpp index f19c48416c..d828558d6e 100644 --- a/src/f/f_pc/f_pc_create_req.cpp +++ b/src/f/f_pc/f_pc_create_req.cpp @@ -32,7 +32,7 @@ void fpcCtRq_ToCreateQ(create_request* pReq) { fpcCtTg_ToCreateQ(&pReq->mBase.mBase); } -extern void cMl_NS_free(void* pPtr); +extern void free__3cMlFPv(void* pPtr); BOOL fpcCtRq_Delete(create_request* pReq) { fpcCtRq_CreateQTo(pReq); @@ -42,7 +42,7 @@ BOOL fpcCtRq_Delete(create_request* pReq) { if (pReq->mpRes) { pReq->mpRes->mpCtRq = NULL; } - cMl_NS_free(pReq); + free__3cMlFPv(pReq); return 1; } } @@ -104,10 +104,8 @@ void fpcCtRq_Handler(void) { fpcCtIt_Method((cNdIt_MethodFunc)fpcCtRq_Do, NULL); } -extern void* cMl_NS_memalignB(s32, u32); - create_request* fpcCtRq_Create(layer_class* pLayer, u32 size, create_request_method_class* pMthd) { - create_request* pReq = (create_request*)cMl_NS_memalignB(-4, size); + create_request* pReq = (create_request*)memalignB__3cMlFiUl(-4, size); if (pReq != NULL) { fpcCtTg_Init(&pReq->mBase, pReq); |
