summaryrefslogtreecommitdiff
path: root/src/soundux.c
diff options
context:
space:
mode:
authortwinaphex2016-08-08 22:19:32 +0200
committertwinaphex2016-08-08 22:19:32 +0200
commit56ad88f3c4720b83617925b4775d6f11580ac1bf (patch)
tree09bea32a617d11e2f62246c9a7612f7c5d95f528 /src/soundux.c
parent474c3225f71c9edc2ac2af2cef58c80f914ec0cc (diff)
downloadsnes9x2002-56ad88f3c4720b83617925b4775d6f11580ac1bf.tar.gz
snes9x2002-56ad88f3c4720b83617925b4775d6f11580ac1bf.tar.bz2
snes9x2002-56ad88f3c4720b83617925b4775d6f11580ac1bf.zip
Take out register keyword
Diffstat (limited to 'src/soundux.c')
-rw-r--r--src/soundux.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/soundux.c b/src/soundux.c
index 4649d91..9c704fd 100644
--- a/src/soundux.c
+++ b/src/soundux.c
@@ -219,7 +219,7 @@ void S9xSetSoundSample(int channel, uint16 sample_number)
#else
void S9xSetSoundSample(int channel, uint16 sample_number)
{
- register Channel* ch = &SoundData.channels[channel];
+ Channel* ch = &SoundData.channels[channel];
if (ch->state != SOUND_SILENT &&
sample_number != ch->sample_number)
@@ -977,7 +977,7 @@ void S9xMixSamplesO(signed short* buffer, int sample_count, int sample_offset)
// ... with filter defined.
for (J = 0; J < sample_count; J += 2)
{
- register int E = Echo [SoundData.echo_ptr];
+ int E = Echo [SoundData.echo_ptr];
Loop [(Z - 0) & 15] = E;
@@ -1039,7 +1039,7 @@ void S9xMixSamplesO(signed short* buffer, int sample_count, int sample_offset)
// ... with filter defined
for (J = 0; J < sample_count; J++)
{
- register int E = Echo [SoundData.echo_ptr];
+ int E = Echo [SoundData.echo_ptr];
Loop [(Z - 0) & 7] = E;
E = E * FilterTaps [0];