fopDwTg_CreateQueue OK

This commit is contained in:
Pheenoh 2021-03-21 16:22:49 -04:00
parent 42d1d655b9
commit d22c4f797d
No known key found for this signature in database
GPG Key ID: 4312662758CE7D5A
3 changed files with 11 additions and 12 deletions

View File

@ -110,8 +110,8 @@ l_fopCamM_id:
.global l_fopOvlpM_Request
l_fopOvlpM_Request:
.skip 0x28
.global lbl_803F1E10
lbl_803F1E10:
.global lists
lists:
.skip 0x2EE0
.global lbl_803F4CF0
lbl_803F4CF0:

View File

@ -2,8 +2,8 @@
/* 8002051C 0001D45C 7C 08 02 A6 */ mflr r0
/* 80020520 0001D460 90 01 00 14 */ stw r0, 0x14(r1)
/* 80020524 0001D464 38 6D 80 50 */ la r3, g_fopDwTg_Queue(r13)
/* 80020528 0001D468 3C 80 80 3F */ lis r4, lbl_803F1E10@ha
/* 8002052C 0001D46C 38 84 1E 10 */ addi r4, r4, lbl_803F1E10@l
/* 80020528 0001D468 3C 80 80 3F */ lis r4, lists@ha
/* 8002052C 0001D46C 38 84 1E 10 */ addi r4, r4, lists@l
/* 80020530 0001D470 38 A0 03 E8 */ li r5, 0x3e8
/* 80020534 0001D474 48 24 5F B5 */ bl cTr_Create
/* 80020538 0001D478 80 01 00 14 */ lwz r0, 0x14(r1)

View File

@ -14,7 +14,7 @@ void fopDwTg_ToDrawQ__FP16create_tag_classi(void);
// additional symbols needed for f_op_draw_tag.cpp
// autogenerated by split.py v0.4 at 2021-02-15 20:18:52.463045
extern u8 lbl_803F1E10;
extern node_list_class lists;
extern node_lists_tree_class g_fopDwTg_Queue;
void fopDwTg_ToDrawQ(create_tag_class* pCreateTagClass, int priority) {
@ -25,12 +25,11 @@ void fopDwTg_DrawQTo(create_tag_class* pCreateTagClass) {
cTg_SingleCutFromTree(pCreateTagClass);
}
asm void fopDwTg_Init(create_tag_class*, void*) {
nofralloc
#include "f/f_op/f_op_draw_tag/asm/func_800204F4.s"
bool fopDwTg_Init(create_tag_class* pCreateTagClass, void* pActor) {
cTg_Create(pCreateTagClass,pActor);
return true;
}
asm void fopDwTg_CreateQueue(void) {
nofralloc
#include "f/f_op/f_op_draw_tag/asm/func_80020518.s"
}
void fopDwTg_CreateQueue(void) {
cTr_Create(&g_fopDwTg_Queue,&lists,1000);
}