summaryrefslogtreecommitdiff
path: root/include/pso/TMainTask.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/pso/TMainTask.h')
-rw-r--r--include/pso/TMainTask.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h
index 3eab543..3a6e59b 100644
--- a/include/pso/TMainTask.h
+++ b/include/pso/TMainTask.h
@@ -6,18 +6,18 @@
#include "pso/TObject.h"
-#define X_OR_Y_CHILD(flags, old_flags, one_prefix, zero_prefix, suffix) \
- if (flags != old_flags) { \
- TMainTask *child; \
- u32 bit = 1; \
- FOREACH_NODE_NODECL_MULTI_ITER(TMainTask, main_task.down, child, bit <<= 1) { \
- if (flags & bit) { \
- child->one_prefix##_##suffix(); \
- } else { \
- child->zero_prefix##_##suffix(); \
- } \
- } \
- old_flags = flags; \
+#define X_OR_Y_CHILD(flags, old_flags, one_prefix, zero_prefix, suffix) \
+ if (flags != old_flags) { \
+ TMainTask *child; \
+ u32 bit = 1; \
+ FOREACH_NODE_NODECL_MULTI_ITER(TMainTask, main_task.get_down(), child, bit <<= 1) { \
+ if (flags & bit) { \
+ child->one_prefix##_##suffix(); \
+ } else { \
+ child->zero_prefix##_##suffix(); \
+ } \
+ } \
+ old_flags = flags; \
}
#define SET_OR_CLEAR_CHILD_FLAGS(flags, old_flags, flag_bit) \