SCI32: Fix bad reads of mirrored cels

This commit is contained in:
Colin Snover committed 2016-03-01 21:12:31 -06:00
1 parent 0012390f2a
commit e5b30fb9af
1 file changed
+2 -2
+2 -2
View File
@@ -109,8 +109,8 @@ struct SCALER_NoScale {
const int16 _lastIndex;
SCALER_NoScale(const CelObj &celObj, const int16 maxWidth) :
_reader(celObj, maxWidth),
_lastIndex(maxWidth - 1) {}
_reader(celObj, FLIP ? celObj._width : maxWidth),
_lastIndex(celObj._width - 1) {}
inline void setSource(const int16 x, const int16 y) {
_row = _reader.getRow(y);