aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/dxa_player.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/graphics/dxa_player.cpp b/graphics/dxa_player.cpp
index 11cbc55c96..d723512a1d 100644
--- a/graphics/dxa_player.cpp
+++ b/graphics/dxa_player.cpp
@@ -32,20 +32,20 @@
#endif
static void scaleUpBy2(byte *dst, byte *src, uint16 width, uint16 h) {
- uint16 x;
-
- while (h > 0) {
- for (x = width; x > 0; x--) {
- register byte v;
-
- v = *src++;
- *dst++ = v;
- *dst++ = v;
- }
- memcpy(dst, dst - width * 2, width * 2);
- dst += width * 2;
- h--;
- }
+ uint16 x;
+
+ while (h > 0) {
+ for (x = width; x > 0; x--) {
+ register byte v;
+
+ v = *src++;
+ *dst++ = v;
+ *dst++ = v;
+ }
+ memcpy(dst, dst - width * 2, width * 2);
+ dst += width * 2;
+ h--;
+ }
}
namespace Graphics {