mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +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…
x
Reference in New Issue
Block a user