mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Cleanups
This commit is contained in:
parent
d28ec842f3
commit
375b588847
@ -61,8 +61,8 @@ static void task_audio_mixer_load_free(retro_task_t *task)
|
||||
static int cb_nbio_audio_wav_loaded(void *data, size_t len)
|
||||
{
|
||||
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
||||
struct nbio_audio_mixer_handle *image = nbio ?
|
||||
(struct nbio_audio_mixer_handle*)nbio->data : NULL;
|
||||
struct nbio_audio_mixer_handle *image =
|
||||
(struct nbio_audio_mixer_handle*)nbio->data;
|
||||
void *ptr = nbio_get_ptr(nbio->handle, &len);
|
||||
|
||||
image->handle = audio_mixer_load_wav(ptr, len);
|
||||
@ -82,8 +82,8 @@ static int cb_nbio_audio_ogg_loaded(void *data, size_t len)
|
||||
{
|
||||
nbio_handle_t *nbio = (nbio_handle_t*)data;
|
||||
struct nbio_audio_mixer_handle
|
||||
*image = nbio ?
|
||||
(struct nbio_audio_mixer_handle*)nbio->data : NULL;
|
||||
*image =
|
||||
(struct nbio_audio_mixer_handle*)nbio->data;
|
||||
|
||||
void *ptr = nbio_get_ptr(nbio->handle, &len);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user