aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-06-22 23:11:27 +0200
committeruruk2014-06-22 23:11:27 +0200
commit19bc15193941d9afd5a896c8bdead2e896f780bd (patch)
treed17a3134baee03b9a3448fd43aa85a5c37729301
parentc8ed838c054d743ec692d21e643717097f1681e5 (diff)
downloadscummvm-rg350-19bc15193941d9afd5a896c8bdead2e896f780bd.tar.gz
scummvm-rg350-19bc15193941d9afd5a896c8bdead2e896f780bd.tar.bz2
scummvm-rg350-19bc15193941d9afd5a896c8bdead2e896f780bd.zip
CGE2: Some more formatting fix in FXP.
-rw-r--r--engines/cge2/vga13h.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h
index 13401751e9..6876bcd825 100644
--- a/engines/cge2/vga13h.h
+++ b/engines/cge2/vga13h.h
@@ -52,8 +52,7 @@ namespace CGE2 {
#define kPalSize (kPalCount * 3)
// From FXP.H
-class FXP // fixed point
-{
+class FXP { // fixed point
uint16 f;
int16 i;
long& Joined (void) const { return *(long *)&f; }
@@ -67,7 +66,7 @@ public:
FXP y; long t;
y.i = i * x.i;
t = ((long) f * x.f) >> 16;
- t += ((long) i * x.f) + ((long) f * x.i);
+ t += ((long) i * x.f) + ((long) f * x.i);
y.f = t & 0xFFFF;
y.i += t >> 16;
return y;