diff options
author | Eugene Sandulenko | 2014-04-28 21:20:42 +0300 |
---|---|---|
committer | Eugene Sandulenko | 2014-04-28 21:20:42 +0300 |
commit | c3ffbd884a2d917aede6020c4ae1ee4a13d7f861 (patch) | |
tree | eef69449accc9a020cf1be49703a0dd698340c11 /backends/platform/ps2/icon.cpp | |
parent | 3d5dee897ef785e3f0c48ae3d857181f314700d1 (diff) | |
parent | 4592e0b586829fade4a5c800672849e693a0d151 (diff) | |
download | scummvm-rg350-c3ffbd884a2d917aede6020c4ae1ee4a13d7f861.tar.gz scummvm-rg350-c3ffbd884a2d917aede6020c4ae1ee4a13d7f861.tar.bz2 scummvm-rg350-c3ffbd884a2d917aede6020c4ae1ee4a13d7f861.zip |
Merge pull request #426 from sunmax/master
PS2: Pull request to master for latest PS2 code
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 df6a165cd4..9319d9f4d9 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) { |