From 58719f32ac854b982ab883eefd58de42c757e452 Mon Sep 17 00:00:00 2001 From: TurtleP Date: Wed, 14 Sep 2022 17:50:51 -0400 Subject: [PATCH] fix ndspGetMasterVol and ndspChnGetMix --- libctru/include/3ds/ndsp/channel.h | 2 +- libctru/source/ndsp/ndsp.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libctru/include/3ds/ndsp/channel.h b/libctru/include/3ds/ndsp/channel.h index e5b0f13..b233594 100644 --- a/libctru/include/3ds/ndsp/channel.h +++ b/libctru/include/3ds/ndsp/channel.h @@ -161,7 +161,7 @@ void ndspChnSetMix(int id, float mix[12]); * @param id ID of the channel (0..23) * @param mix Mix parameters to write out to. See \ref ndspChnSetMix. */ -void ndspChnGetMix(int id, float* mix[12]); +void ndspChnGetMix(int id, float mix[12]); /** * @brief Sets the DSPADPCM coefficients of a channel. diff --git a/libctru/source/ndsp/ndsp.c b/libctru/source/ndsp/ndsp.c index cc0e8df..c1b9de4 100644 --- a/libctru/source/ndsp/ndsp.c +++ b/libctru/source/ndsp/ndsp.c @@ -612,7 +612,7 @@ void ndspSetMasterVol(float volume) LightLock_Unlock(&ndspMaster.lock); } -void ndspGetMasterVol(void) +float ndspGetMasterVol(void) { return ndspMaster.masterVol; }