summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/nes_vrc7_apu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/nes_vrc7_apu.c')
-rw-r--r--apps/codecs/libgme/nes_vrc7_apu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/nes_vrc7_apu.c b/apps/codecs/libgme/nes_vrc7_apu.c
index 6148a6b90f..c9e638e3d8 100644
--- a/apps/codecs/libgme/nes_vrc7_apu.c
+++ b/apps/codecs/libgme/nes_vrc7_apu.c
@@ -29,7 +29,7 @@ void Vrc7_reset( struct Nes_Vrc7_Apu* this )
29 OPLL_setMask(&this->opll, this->mask); 29 OPLL_setMask(&this->opll, this->mask);
30} 30}
31 31
32void Vrc7_set_rate( struct Nes_Vrc7_Apu* this, double r ) 32void Vrc7_set_rate( struct Nes_Vrc7_Apu* this, int r )
33{ 33{
34 OPLL_set_quality( &this->opll, r < 44100 ? 0 : 1 ); 34 OPLL_set_quality( &this->opll, r < 44100 ? 0 : 1 );
35 OPLL_set_rate( &this->opll, (e_uint32)r ); 35 OPLL_set_rate( &this->opll, (e_uint32)r );