aboutsummaryrefslogtreecommitdiff
path: root/audio/softsynth/fmtowns_pc98/towns_audio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'audio/softsynth/fmtowns_pc98/towns_audio.cpp')
-rw-r--r--audio/softsynth/fmtowns_pc98/towns_audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/softsynth/fmtowns_pc98/towns_audio.cpp b/audio/softsynth/fmtowns_pc98/towns_audio.cpp
index 937b9bdbf0..1a12fa9443 100644
--- a/audio/softsynth/fmtowns_pc98/towns_audio.cpp
+++ b/audio/softsynth/fmtowns_pc98/towns_audio.cpp
@@ -827,7 +827,7 @@ int TownsAudioInterfaceInternal::intf_unloadWaveTable(va_list &args) {
_waveTablesTotalDataSize -= _waveTables[i].size;
_waveTables[i].clear();
for (; i < _numWaveTables; i++)
- memcpy(&_waveTables[i], &_waveTables[i + 1], sizeof(TownsAudio_WaveTable));
+ _waveTables[i] = _waveTables[i + 1];
return 0;
}
}