mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-16 15:27:41 +00:00
coreaudio_set_nonblock_state - check if pointer is non-NULL
This commit is contained in:
parent
e306553cea
commit
e57963a394
@ -367,7 +367,8 @@ static ssize_t coreaudio_write(void *data, const void *buf_, size_t size)
|
||||
static void coreaudio_set_nonblock_state(void *data, bool state)
|
||||
{
|
||||
coreaudio_t *dev = (coreaudio_t*)data;
|
||||
dev->nonblock = state;
|
||||
if (dev)
|
||||
dev->nonblock = state;
|
||||
}
|
||||
|
||||
static bool coreaudio_alive(void *data)
|
||||
|
Loading…
Reference in New Issue
Block a user