diff options
author | dhewg | 2011-02-27 10:10:44 +0100 |
---|---|---|
committer | dhewg | 2011-02-27 10:10:44 +0100 |
commit | 1c95d47cfaf1f39b3c3012aa649ce3ced90ed147 (patch) | |
tree | 62dd1aa6852e1d7963df3cff7d2ca0e2a5dd4a18 /engines/sword2/animation.h | |
parent | a73b2ec97279b1ef1562ece18c7905591e6a7cc4 (diff) | |
download | scummvm-rg350-1c95d47cfaf1f39b3c3012aa649ce3ced90ed147.tar.gz scummvm-rg350-1c95d47cfaf1f39b3c3012aa649ce3ced90ed147.tar.bz2 scummvm-rg350-1c95d47cfaf1f39b3c3012aa649ce3ced90ed147.zip |
SWORD2: Respect screen pitch while postprocessing
Fixes subtitles on androids
Diffstat (limited to 'engines/sword2/animation.h')
-rw-r--r-- | engines/sword2/animation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sword2/animation.h b/engines/sword2/animation.h index 550ac0fac4..afe7dfcc68 100644 --- a/engines/sword2/animation.h +++ b/engines/sword2/animation.h @@ -96,12 +96,12 @@ protected: uint32 _leadOut; int _leadOutFrame; - void performPostProcessing(byte *screen); + void performPostProcessing(byte *screen, uint16 pitch); bool playVideo(); void openTextObject(uint32 index); - void closeTextObject(uint32 index, byte *screen); - void drawTextObject(uint32 index, byte *screen); + void closeTextObject(uint32 index, byte *screen, uint16 pitch); + void drawTextObject(uint32 index, byte *screen, uint16 pitch); byte findBlackPalIndex(); byte findWhitePalIndex(); |