diff options
author | Max Lingua | 2014-01-18 00:12:49 -0500 |
---|---|---|
committer | Max Lingua | 2014-01-18 13:49:45 -0500 |
commit | 066c2825a6233d8c435f77471856ecf94d2f6047 (patch) | |
tree | 5d810f4f0de8b131a0f78d701bc88e56ab51b806 /backends/platform/ps2/icon.cpp | |
parent | 27735638c200b9b91dd44b9ed45fd16508cefb4f (diff) | |
download | scummvm-rg350-066c2825a6233d8c435f77471856ecf94d2f6047.tar.gz scummvm-rg350-066c2825a6233d8c435f77471856ecf94d2f6047.tar.bz2 scummvm-rg350-066c2825a6233d8c435f77471856ecf94d2f6047.zip |
PS2: converted malloc(x) -> memalign(64, x)
Diffstat (limited to 'backends/platform/ps2/icon.cpp')
-rw-r--r-- | backends/platform/ps2/icon.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/platform/ps2/icon.cpp b/backends/platform/ps2/icon.cpp index bda4843647..22c546231c 100644 --- a/backends/platform/ps2/icon.cpp +++ b/backends/platform/ps2/icon.cpp @@ -937,7 +937,7 @@ uint16 PS2Icon::decompressData(uint16 **data) { uint16 inPos = 1; const uint16 *rleData = (const uint16 *)_rleIcoData; uint16 resSize = rleData[0]; - uint16 *resData = (uint16 *)malloc(resSize * sizeof(uint16)); + uint16 *resData = (uint16 *)memalign(64, resSize * sizeof(uint16)); uint16 outPos = 0; while (outPos < resSize) { |