mirror of
https://github.com/libretro/RetroArch
synced 2025-04-17 02:43:03 +00:00
Fix shenanigans.
This commit is contained in:
parent
576894e0e8
commit
8c1db1c407
@ -72,6 +72,9 @@ static void* __xa_init(const char* device, unsigned rate, unsigned latency)
|
||||
if (!init_lib())
|
||||
return NULL;
|
||||
|
||||
if (latency < 8)
|
||||
latency = 8; // Do not allow shenanigans.
|
||||
|
||||
xa_t *xa = calloc(1, sizeof(xa_t));
|
||||
if (xa == NULL)
|
||||
return NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user