diff options
author | Willem Jan Palenstijn | 2014-12-27 23:51:59 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2014-12-27 23:51:59 +0100 |
commit | 4931aee954704a7ee984ce8cee85bdbec3ddb640 (patch) | |
tree | bd8135f0d439db2453b04415c254ff3d05d94b93 /engines | |
parent | cd595cb0ea65b5bd8b79cb7af35457d032d82e98 (diff) | |
download | scummvm-rg350-4931aee954704a7ee984ce8cee85bdbec3ddb640.tar.gz scummvm-rg350-4931aee954704a7ee984ce8cee85bdbec3ddb640.tar.bz2 scummvm-rg350-4931aee954704a7ee984ce8cee85bdbec3ddb640.zip |
ZVISION: Fix typo
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/graphics/cursors/cursor.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/graphics/render_manager.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/graphics/cursors/cursor.cpp b/engines/zvision/graphics/cursors/cursor.cpp index 1b471d88b8..f32c68645d 100644 --- a/engines/zvision/graphics/cursors/cursor.cpp +++ b/engines/zvision/graphics/cursors/cursor.cpp @@ -61,7 +61,7 @@ ZorkCursor::ZorkCursor(ZVision *engine, const Common::String &fileName) uint32 bytesRead = file.read(_surface.getPixels(), dataSize); assert(bytesRead == dataSize); -#ifndef SCUMMVM_LITTLE_ENDIAN +#ifndef SCUMM_LITTLE_ENDIAN int16 *buffer = (int16 *)_surface.getPixels(); for (uint32 i = 0; i < dataSize / 2; ++i) buffer[i] = FROM_LE_16(buffer[i]); diff --git a/engines/zvision/graphics/render_manager.cpp b/engines/zvision/graphics/render_manager.cpp index a178c97639..033d099042 100644 --- a/engines/zvision/graphics/render_manager.cpp +++ b/engines/zvision/graphics/render_manager.cpp @@ -216,7 +216,7 @@ void RenderManager::readImageToSurface(const Common::String &fileName, Graphics: LzssReadStream lzssStream(&file); buffer = (uint16 *)(new uint16[decompressedSize]); lzssStream.read(buffer, 2 * decompressedSize); -#ifndef SCUMMVM_LITTLE_ENDIAN +#ifndef SCUMM_LITTLE_ENDIAN for (uint32 i = 0; i < decompressedSize; ++i) buffer[i] = FROM_LE_16(buffer[i]); #endif |