mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-24 16:39:43 +00:00
dsound.c - Refactor grab_region
This commit is contained in:
parent
73d599dc83
commit
12376cd611
@ -119,16 +119,11 @@ static INLINE bool grab_region(dsound_t *ds, uint32_t write_ptr,
|
||||
break;
|
||||
|
||||
default:
|
||||
err = NULL;
|
||||
return true;
|
||||
}
|
||||
|
||||
if (err)
|
||||
{
|
||||
RARCH_WARN("[DirectSound error]: %s\n", err);
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
RARCH_WARN("[DirectSound error]: %s\n", err);
|
||||
return false;
|
||||
}
|
||||
|
||||
static INLINE void release_region(dsound_t *ds, const struct audio_lock *region)
|
||||
|
Loading…
Reference in New Issue
Block a user