mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-08-21 05:34:10 -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:
@@ -12,8 +12,8 @@ static int l_fopDwTg_id;
|
||||
|
||||
create_tag_class* fopDwIt_GetTag() {
|
||||
while (l_fopDwTg_id + 1 < g_fopDwTg_Queue.mNumLists) {
|
||||
l_fopDwTg_id++;
|
||||
node_class* node = g_fopDwTg_Queue.mpLists[l_fopDwTg_id].mpHead;
|
||||
node_list_class* list = &g_fopDwTg_Queue.mpLists[++l_fopDwTg_id];
|
||||
node_class* node = list->mpHead;
|
||||
|
||||
if (node != NULL) {
|
||||
return (create_tag_class*)node;
|
||||
@@ -30,13 +30,13 @@ create_tag_class* fopDwIt_Begin() {
|
||||
if (tag != NULL) {
|
||||
return tag;
|
||||
}
|
||||
return tag = fopDwIt_GetTag();
|
||||
return fopDwIt_GetTag();
|
||||
}
|
||||
|
||||
create_tag_class* fopDwIt_Next(create_tag_class* i_createTag) {
|
||||
create_tag_class* tag = (create_tag_class*)i_createTag->mpNode.mpNextNode;
|
||||
if (tag == NULL) {
|
||||
tag = fopDwIt_GetTag();
|
||||
return fopDwIt_GetTag();
|
||||
}
|
||||
return tag;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user