summaryrefslogtreecommitdiff
path: root/apps/codecs/libgme/nes_oscs.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libgme/nes_oscs.c')
-rw-r--r--apps/codecs/libgme/nes_oscs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/libgme/nes_oscs.c b/apps/codecs/libgme/nes_oscs.c
index a790c4d8a2..4402b60a61 100644
--- a/apps/codecs/libgme/nes_oscs.c
+++ b/apps/codecs/libgme/nes_oscs.c
@@ -334,7 +334,7 @@ static short const dmc_period_table [2] [16] = {
334 176, 148, 132, 118, 98, 78, 66, 50} 334 176, 148, 132, 118, 98, 78, 66, 50}
335}; 335};
336 336
337inline void Dmc_reload_sample( struct Nes_Dmc* this ) 337static inline void Dmc_reload_sample( struct Nes_Dmc* this )
338{ 338{
339 this->address = 0x4000 + this->osc.regs [2] * 0x40; 339 this->address = 0x4000 + this->osc.regs [2] * 0x40;
340 this->osc.length_counter = this->osc.regs [3] * 0x10 + 1; 340 this->osc.length_counter = this->osc.regs [3] * 0x10 + 1;