From c4a626931bda67d909f2d836501c3f409cf9b722 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Wed, 7 Jul 2010 23:23:19 +0000 Subject: DS: Code formatting svn-id: r50742 --- backends/platform/ds/arm9/source/osystem_ds.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backends/platform/ds') diff --git a/backends/platform/ds/arm9/source/osystem_ds.cpp b/backends/platform/ds/arm9/source/osystem_ds.cpp index 55475b0bff..c4ff241de0 100644 --- a/backends/platform/ds/arm9/source/osystem_ds.cpp +++ b/backends/platform/ds/arm9/source/osystem_ds.cpp @@ -315,7 +315,7 @@ void OSystem_DS::copyRectToScreen(const byte *buf, int pitch, int x, int y, int u32 pixelsLeft = w; - if (MISALIGNED16(dest)) { + if (MISALIGNED16(dest)) { // Read modify write dest--; @@ -332,7 +332,7 @@ void OSystem_DS::copyRectToScreen(const byte *buf, int pitch, int x, int y, int // We can now assume dest is aligned u16 *dest16 = (u16 *) dest; - for (dx = 0; dx < pixelsLeft; dx+=2) { + for (dx = 0; dx < pixelsLeft; dx+=2) { u16 mix; mix = *src + (*(src + 1) << 8); @@ -367,7 +367,7 @@ void OSystem_DS::copyRectToScreen(const byte *buf, int pitch, int x, int y, int u32 pixelsLeft = w; - if (MISALIGNED16(dest)) { + if (MISALIGNED16(dest)) { // Read modify write dest--; @@ -387,7 +387,7 @@ void OSystem_DS::copyRectToScreen(const byte *buf, int pitch, int x, int y, int u16 *dest16 = (u16 *) dest; u16 *destSub16 = (u16 *) destSub; - for (dx = 0; dx < pixelsLeft; dx+=2) { + for (dx = 0; dx < pixelsLeft; dx+=2) { u16 mix; mix = *src + (*(src + 1) << 8); -- cgit v1.2.3