From 56ad88f3c4720b83617925b4775d6f11580ac1bf Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 8 Aug 2016 22:19:32 +0200 Subject: Take out register keyword --- src/soundux.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/soundux.c') 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]; -- cgit v1.2.3