diff options
author | Johannes Schickel | 2012-11-19 12:40:29 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-11-19 12:54:42 +0100 |
commit | b7e04fa518b998081cb32edbb2f35d436b0d70b9 (patch) | |
tree | 6b9efe2683ffeafc35f16545012bf4a963b79b11 /engines/kyra/screen_eob.cpp | |
parent | d8a17a9d91da3d31d7d3a454e010a4fb5b2100ff (diff) | |
download | scummvm-rg350-b7e04fa518b998081cb32edbb2f35d436b0d70b9.tar.gz scummvm-rg350-b7e04fa518b998081cb32edbb2f35d436b0d70b9.tar.bz2 scummvm-rg350-b7e04fa518b998081cb32edbb2f35d436b0d70b9.zip |
KYRA: Some formatting fixes.
Powered by astyle.
Diffstat (limited to 'engines/kyra/screen_eob.cpp')
-rw-r--r-- | engines/kyra/screen_eob.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/kyra/screen_eob.cpp b/engines/kyra/screen_eob.cpp index 8f18c5aa8b..7cb50502f7 100644 --- a/engines/kyra/screen_eob.cpp +++ b/engines/kyra/screen_eob.cpp @@ -255,7 +255,7 @@ void Screen_EoB::convertPage(int srcPage, int dstPage, const uint8 *cgaMapping) if (cgaMapping) generateCGADitheringTables(cgaMapping); - uint16 *d = (uint16*)dst; + uint16 *d = (uint16 *)dst; uint8 tblSwitch = 0; for (int height = SCREEN_H; height; height--) { const uint16 *table = _cgaDitheringTables[(tblSwitch++) & 1]; @@ -787,7 +787,7 @@ const uint8 *Screen_EoB::scaleShapeStep(const uint8 *shp) { uint8 *dst = (shp != _dsTempPage) ? _dsTempPage : _dsTempPage + 6000; uint8 *d = dst; uint8 pixelsPerByte = *d++ = *shp++; - assert (pixelsPerByte > 1); + assert(pixelsPerByte > 1); uint16 h = shp[0] + 1; d[0] = d[2] = (h << 1) / 3; @@ -841,7 +841,7 @@ const uint8 *Screen_EoB::scaleShapeStep(const uint8 *shp) { shp += w2; } - return (const uint8*)dst; + return (const uint8 *)dst; } const uint8 *Screen_EoB::generateShapeOverlay(const uint8 *shp, int paletteOverlayIndex) { |