mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
API cleanup, fix some lingering InvalWindowRects
This commit is contained in:
@@ -222,7 +222,7 @@ PLError_t LoadMusicSounds (void)
|
||||
if (theMusicData[i] == nil)
|
||||
return PLErrors::kOutOfMemory;
|
||||
|
||||
BlockMove(static_cast<Byte*>(*theSound), theMusicData[i], soundDataSize);
|
||||
memcpy(theMusicData[i], static_cast<Byte*>(*theSound), soundDataSize);
|
||||
theSound.Dispose();
|
||||
}
|
||||
return (theErr);
|
||||
|
||||
Reference in New Issue
Block a user