summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-12 11:38:48 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-12 11:38:48 -0400
commit0d06559bcc3d60595cedcab343408589dcdb9c94 (patch)
tree669642efeb2e86d84af98336db6079ce487d89a5 /src/pso
parent2fdd70e4eeb6b2ac82eb8be81fd23fa61bc2baeb (diff)
TObject: Make non-function members private, and add getters, and setters
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TMainTask.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pso/TMainTask.cpp b/src/pso/TMainTask.cpp
index e8e2715..a66fec2 100644
--- a/src/pso/TMainTask.cpp
+++ b/src/pso/TMainTask.cpp
@@ -325,13 +325,13 @@ void TMainTask::init_main_task() {
alt_heap = new THeap(0x17000, 16);
#define o(var, dummy) \
var = new TObject(this); \
- var->name = var##_name;
+ var->set_name(var##_name);
TL_OBJECTS
#undef o
}
TMainTask::TMainTask() : TObject(NULL) {
- name = TMainTask_name;
+ set_name(TMainTask_name);
task_flags = 0;
mbr_0x20 = 0;
mbr_0x24 = 0;