diff options
Diffstat (limited to 'apps/plugins/rockboy/sound.c')
-rw-r--r-- | apps/plugins/rockboy/sound.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/sound.c b/apps/plugins/rockboy/sound.c index 041b7831d3..c1b06a1bd7 100644 --- a/apps/plugins/rockboy/sound.c +++ b/apps/plugins/rockboy/sound.c | |||
@@ -116,9 +116,6 @@ struct snd snd IBSS_ATTR; | |||
116 | static void gbSoundChannel1(int *r, int *l) | 116 | static void gbSoundChannel1(int *r, int *l) |
117 | { | 117 | { |
118 | int vol = S1.envol; | 118 | int vol = S1.envol; |
119 | |||
120 | int freq = 0; | ||
121 | |||
122 | int value = 0; | 119 | int value = 0; |
123 | 120 | ||
124 | if(S1.on && (S1.len || !S1.cont)) | 121 | if(S1.on && (S1.len || !S1.cont)) |
@@ -172,7 +169,7 @@ static void gbSoundChannel1(int *r, int *l) | |||
172 | 169 | ||
173 | if(S1.swlen<=0) | 170 | if(S1.swlen<=0) |
174 | { | 171 | { |
175 | freq = (((int)(R_NR14&7) << 8) | R_NR13); | 172 | int freq = (((int)(R_NR14&7) << 8) | R_NR13); |
176 | 173 | ||
177 | int updown = 1; | 174 | int updown = 1; |
178 | 175 | ||