aboutsummaryrefslogtreecommitdiff
path: root/engines/bladerunner/slice_animations.cpp
diff options
context:
space:
mode:
authorPeter Kohaut2019-04-17 23:08:35 +0200
committerPeter Kohaut2019-04-17 23:09:01 +0200
commit036f2221f88f844ea2b19a2f3d341ac671c6183e (patch)
tree0eb259150f3f91c46612285494414917febdfa02 /engines/bladerunner/slice_animations.cpp
parente86ee33999f33ad66bb7c018b4d4b7604b48badb (diff)
downloadscummvm-rg350-036f2221f88f844ea2b19a2f3d341ac671c6183e.tar.gz
scummvm-rg350-036f2221f88f844ea2b19a2f3d341ac671c6183e.tar.bz2
scummvm-rg350-036f2221f88f844ea2b19a2f3d341ac671c6183e.zip
BLADERUNNER: Fixed typo in pixelFormat name
Diffstat (limited to 'engines/bladerunner/slice_animations.cpp')
-rw-r--r--engines/bladerunner/slice_animations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/bladerunner/slice_animations.cpp b/engines/bladerunner/slice_animations.cpp
index 2cff038326..f4fc134e8f 100644
--- a/engines/bladerunner/slice_animations.cpp
+++ b/engines/bladerunner/slice_animations.cpp
@@ -57,7 +57,7 @@ bool SliceAnimations::open(const Common::String &name) {
_palettes[i].color[j].b = color_b;
const int bladeToScummVmConstant = 256 / 32; // 5 bits to 8 bits
- uint16 rgb555 = screenPixelForrmat().RGBToColor(color_r * bladeToScummVmConstant, color_g * bladeToScummVmConstant, color_b * bladeToScummVmConstant);
+ uint16 rgb555 = screenPixelFormat().RGBToColor(color_r * bladeToScummVmConstant, color_g * bladeToScummVmConstant, color_b * bladeToScummVmConstant);
_palettes[i].color555[j] = rgb555;
}
}