mirror of
https://github.com/Maschell/controller_patcher.git
synced 2024-11-22 03:59:16 +01:00
Fixed the thread to work with the new dynamic libs
This commit is contained in:
parent
718ac61d77
commit
3bf07857be
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user