From 09c901655db3bb42d2aac4b506846b18833d777c Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 7 Mar 2023 15:23:51 -0400 Subject: global: Completly disable inlining This is because it looks more, and more clear that the entire codebase was compiled without inlining. Likely to reduce code size from all the byteswap functions, only present on the GameCube version. --- include/pso/TMainTask.h | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'include/pso/TMainTask.h') diff --git a/include/pso/TMainTask.h b/include/pso/TMainTask.h index b73d69d..eb50a99 100644 --- a/include/pso/TMainTask.h +++ b/include/pso/TMainTask.h @@ -34,7 +34,7 @@ TL_OBJECTS TL_OBJECTS #undef o -class TMainTask : private TObject { +class TMainTask : public TObject { public: u32 task_flags; u32 mbr_0x20; @@ -66,17 +66,5 @@ public: virtual void run_task(); virtual void render(); virtual void render_shadows(); -private: - void set_task_flags(u32 flags) { - this->task_flags |= flags; - } - - void clear_task_flags(u32 flags) { - this->task_flags &= ~flags; - } - - u32 get_task_flags(u32 flags) { - return this->task_flags & flags; - }; }; #endif -- cgit v1.2.3-13-gbd6f