Skip to content

Commit

Permalink
For -> memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
meepingsnesroms committed Oct 11, 2016
1 parent 82e044b commit 79b77a2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/apu.c
Expand Up @@ -1187,9 +1187,7 @@ static void dsp_reset (void)
};

/* Resets DSP and uses supplied values to initialize registers */

for (i = 0; i < REGISTER_COUNT; i++)
dsp_m.regs[i] = initial_regs[i];
memcpy(dsp_m.regs,initial_regs,REGISTER_COUNT);

/* Internal state */
for ( i = VOICE_COUNT; --i >= 0; )
Expand Down

0 comments on commit 79b77a2

Please sign in to comment.