From e2eb2ce8c9c2c8731d8fcffedaf8a6a40346b69a Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Sun, 16 Oct 2016 11:07:08 -0700 Subject: Remove unused variables. --- source/soundux.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'source/soundux.c') diff --git a/source/soundux.c b/source/soundux.c index 66af26b..c122859 100644 --- a/source/soundux.c +++ b/source/soundux.c @@ -1238,7 +1238,7 @@ void S9xSetPlaybackRate(uint32_t playback_rate) S9xSetSoundFrequency(i, SoundData.channels [i].hertz); } -bool S9xInitSound(int mode, bool stereo, int buffer_size) +bool S9xInitSound() { so.sound_fd = -1; so.sound_switch = 255; @@ -1247,9 +1247,6 @@ bool S9xInitSound(int mode, bool stereo, int buffer_size) so.buffer_size = 0; so.encoded = false; - if (!(mode & 7)) - return (1); - return (1); } -- cgit v1.2.3