mirror of
https://github.com/libretro/RetroArch
synced 2025-03-31 01:21:03 +00:00
[VITA] Fix no sound
This commit is contained in:
parent
ba079b14dc
commit
193b0b147f
@ -244,6 +244,9 @@ static bool psp_audio_stop(void *data)
|
|||||||
SceUInt timeout = 100000;
|
SceUInt timeout = 100000;
|
||||||
psp_audio_t* psp = (psp_audio_t*)data;
|
psp_audio_t* psp = (psp_audio_t*)data;
|
||||||
|
|
||||||
|
if(psp && !psp->running)
|
||||||
|
return true;
|
||||||
|
|
||||||
info.size = sizeof(SceKernelThreadInfo);
|
info.size = sizeof(SceKernelThreadInfo);
|
||||||
|
|
||||||
if (sceKernelGetThreadInfo(
|
if (sceKernelGetThreadInfo(
|
||||||
@ -266,6 +269,9 @@ static bool psp_audio_start(void *data, bool is_shutdown)
|
|||||||
{
|
{
|
||||||
SceKernelThreadInfo info;
|
SceKernelThreadInfo info;
|
||||||
psp_audio_t* psp = (psp_audio_t*)data;
|
psp_audio_t* psp = (psp_audio_t*)data;
|
||||||
|
|
||||||
|
if(psp && psp->running)
|
||||||
|
return true;
|
||||||
|
|
||||||
info.size = sizeof(SceKernelThreadInfo);
|
info.size = sizeof(SceKernelThreadInfo);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user