diff --git a/Source/UI/Buttons/UITextButton.h b/Source/UI/Buttons/UITextButton.h index 3defe81b..31183b8d 100644 --- a/Source/UI/Buttons/UITextButton.h +++ b/Source/UI/Buttons/UITextButton.h @@ -30,7 +30,7 @@ public: friend void RequestTextButtonService(UITextButton* button); friend void OpenTextButtonNavigation(UITextButton* button); - UITextButton(); + __declspec(noinline) UITextButton(); ~UITextButton() override; void Paint() override; void Slot27(int x, int y) override; diff --git a/Source/UI/Window/UIWindowMgr.h b/Source/UI/Window/UIWindowMgr.h index 30e59997..98b96cf6 100644 --- a/Source/UI/Window/UIWindowMgr.h +++ b/Source/UI/Window/UIWindowMgr.h @@ -476,7 +476,7 @@ public: void GetMiniPartyUsableArea(RECT* area); UIWindow* FindSnapExcludedWindow(int cell); void Schedule(UIWindow* window); - void AddRendered(UIWindow* window); + __declspec(noinline) void AddRendered(UIWindow* window); void RegisterWindow(UIWindow* window); void UnregisterWindow(UIWindow* window); void InvalidateRegisteredWindows();