aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2010-07-07 23:23:19 +0000
committerMax Horn2010-07-07 23:23:19 +0000
commitc4a626931bda67d909f2d836501c3f409cf9b722 (patch)
tree08ca42066892b4dd7cbef451b14a8a95b9088a5f /backends
parentfe72d5dd7842312606b350785f2fac2b2824fcb6 (diff)
downloadscummvm-rg350-c4a626931bda67d909f2d836501c3f409cf9b722.tar.gz
scummvm-rg350-c4a626931bda67d909f2d836501c3f409cf9b722.tar.bz2
scummvm-rg350-c4a626931bda67d909f2d836501c3f409cf9b722.zip
DS: Code formatting
svn-id: r50742
Diffstat (limited to 'backends')
-rw-r--r--backends/platform/ds/arm9/source/osystem_ds.cpp8
1 files changed, 4 insertions, 4 deletions
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);