mirror of
https://github.com/dborth/snes9xgx.git
synced 2024-11-01 00:15:14 +01:00
set audio/video threads to critical priority
This commit is contained in:
parent
1961fd646e
commit
7738cb3344
@ -92,7 +92,7 @@ InitGCAudio ()
|
|||||||
AUDIO_SetDSPSampleRate (AI_SAMPLERATE_32KHZ);
|
AUDIO_SetDSPSampleRate (AI_SAMPLERATE_32KHZ);
|
||||||
AUDIO_RegisterDMACallback (GCMixSamples);
|
AUDIO_RegisterDMACallback (GCMixSamples);
|
||||||
|
|
||||||
LWP_CreateThread (&athread, AudioThread, NULL, astack, AUDIOSTACK, 80);
|
LWP_CreateThread (&athread, AudioThread, NULL, astack, AUDIOSTACK, 150);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -287,7 +287,7 @@ InitVideoThread ()
|
|||||||
LWP_InitQueue (&videoblankqueue);
|
LWP_InitQueue (&videoblankqueue);
|
||||||
|
|
||||||
/*** Create the thread on this queue ***/
|
/*** Create the thread on this queue ***/
|
||||||
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 80);
|
LWP_CreateThread (&vbthread, vbgetback, NULL, vbstack, TSTACK, 150);
|
||||||
}
|
}
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user