diff options
author | Johannes Schickel | 2014-08-24 00:46:35 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-08-24 00:57:39 +0200 |
commit | 183f8eea43fc01173810cc9668f8d458322a5639 (patch) | |
tree | bf3a28efb0007ffbf238d6fc118330d7e2f02f4a | |
parent | 2f547a887cbbda56cef0281af96c13f9e097faa9 (diff) | |
download | scummvm-rg350-183f8eea43fc01173810cc9668f8d458322a5639.tar.gz scummvm-rg350-183f8eea43fc01173810cc9668f8d458322a5639.tar.bz2 scummvm-rg350-183f8eea43fc01173810cc9668f8d458322a5639.zip |
KYRA: Slight cleanup.
-rw-r--r-- | engines/kyra/sound_adlib.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sound_adlib.cpp b/engines/kyra/sound_adlib.cpp index 3834da8347..89ee41e859 100644 --- a/engines/kyra/sound_adlib.cpp +++ b/engines/kyra/sound_adlib.cpp @@ -2546,7 +2546,7 @@ void SoundAdLibPC::internalLoadFile(Common::String file) { _soundDataPtr = new uint8[soundDataSize]; assert(_soundDataPtr); - memcpy(_soundDataPtr, p, soundDataSize*sizeof(uint8)); + memcpy(_soundDataPtr, p, soundDataSize); delete[] fileData; fileData = p = 0; |