mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
change device thread
This commit is contained in:
parent
1c12c46122
commit
9efd02061f
@ -50,10 +50,7 @@ bool isMounted[9] = { false, false, false, false, false, false, false, false, fa
|
||||
/****************************************************************************
|
||||
* deviceThreading
|
||||
***************************************************************************/
|
||||
#define TSTACK 16384
|
||||
lwpq_t devicequeue;
|
||||
lwp_t devicethread;
|
||||
static unsigned char devicestack[TSTACK];
|
||||
|
||||
/****************************************************************************
|
||||
* devicecallback
|
||||
@ -119,11 +116,7 @@ devicecallback (void *arg)
|
||||
void
|
||||
InitDeviceThread()
|
||||
{
|
||||
/*** Initialise a new queue ***/
|
||||
LWP_InitQueue (&devicequeue);
|
||||
|
||||
/*** Create the thread on this queue ***/
|
||||
LWP_CreateThread (&devicethread, devicecallback, NULL, devicestack, TSTACK, 80);
|
||||
LWP_CreateThread (&devicethread, devicecallback, NULL, NULL, 0, 80);
|
||||
}
|
||||
|
||||
/****************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user