From 3bf07857bebe4f1addf94c2e4cf2727e72d98789 Mon Sep 17 00:00:00 2001 From: Maschell Date: Tue, 10 Oct 2017 21:02:41 +0200 Subject: [PATCH] Fixed the thread to work with the new dynamic libs --- utils/ControllerPatcherThread.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/ControllerPatcherThread.hpp b/utils/ControllerPatcherThread.hpp index 8429d98..5926ddf 100644 --- a/utils/ControllerPatcherThread.hpp +++ b/utils/ControllerPatcherThread.hpp @@ -38,7 +38,7 @@ public: //! save attribute assignment iAttributes = iAttr; //! allocate the thread - pThread = memalign(8, 0x1000); + pThread = (OSThread*) memalign(8, 0x1000); //! allocate the stack pThreadStack = (u8 *) memalign(0x20, iStackSize); //! create the thread @@ -112,7 +112,7 @@ private: return 0; } s32 iAttributes; - void *pThread; + OSThread* pThread; u8 *pThreadStack; Callback pCallback; void *pCallbackArg;