From a68704403ab88657d4abaad25f673bf40267931a Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Fri, 3 Feb 2023 13:39:15 -0400 Subject: TObject, TMainTask: Make object names extern, and declare them in `TObject.cpp` This is to make it match the order in the original binary. --- include/pso/TObject.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'include/pso/TObject.h') diff --git a/include/pso/TObject.h b/include/pso/TObject.h index bf23b56..1594d33 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -5,8 +5,9 @@ #include "pso/macros.h" #include - -OBJECT_NAME(TObject) +#define o(name) extern const char *name##_name; +OBJECT_NAMES +#undef o extern TMainTask main_task; extern TObject global_obj1; -- cgit v1.2.3-13-gbd6f