aboutsummaryrefslogtreecommitdiff
path: root/image/codecs
diff options
context:
space:
mode:
Diffstat (limited to 'image/codecs')
-rw-r--r--image/codecs/bmp_raw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/bmp_raw.cpp b/image/codecs/bmp_raw.cpp
index f810678fc2..bab96f693e 100644
--- a/image/codecs/bmp_raw.cpp
+++ b/image/codecs/bmp_raw.cpp
@@ -54,7 +54,7 @@ const Graphics::Surface *BitmapRawDecoder::decodeFrame(Common::SeekableReadStrea
}
if (_bitsPerPixel == 1) {
- for (int i = _height - 1; i >= 0; i--) {
+ for (int i = 0; i < _height; i++) {
byte *dst = (byte *)_surface->getBasePtr(0, i);
for (int j = 0; j != _width;) {
byte color = stream.readByte();