mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-05-27 23:45:55 -04:00
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>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user