Fixed the thread to work with the new dynamic libs

This commit is contained in:
Maschell 2017-10-10 21:02:41 +02:00
parent 718ac61d77
commit 3bf07857be

View File

@ -38,7 +38,7 @@ public:
//! save attribute assignment //! save attribute assignment
iAttributes = iAttr; iAttributes = iAttr;
//! allocate the thread //! allocate the thread
pThread = memalign(8, 0x1000); pThread = (OSThread*) memalign(8, 0x1000);
//! allocate the stack //! allocate the stack
pThreadStack = (u8 *) memalign(0x20, iStackSize); pThreadStack = (u8 *) memalign(0x20, iStackSize);
//! create the thread //! create the thread
@ -112,7 +112,7 @@ private:
return 0; return 0;
} }
s32 iAttributes; s32 iAttributes;
void *pThread; OSThread* pThread;
u8 *pThreadStack; u8 *pThreadStack;
Callback pCallback; Callback pCallback;
void *pCallbackArg; void *pCallbackArg;