mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-06 09:48:39 +00:00
SCI32: Actually use the BitmapFlags enum
This commit is contained in:
parent
0235a84b90
commit
82be9326f7
@ -154,15 +154,15 @@ public:
|
||||
}
|
||||
|
||||
inline bool getRemap() const {
|
||||
return READ_SCI11ENDIAN_UINT16(_bitmap + 10) & 2;
|
||||
return READ_SCI11ENDIAN_UINT16(_bitmap + 10) & kBitmapRemap;
|
||||
}
|
||||
|
||||
inline void setRemap(const bool remap) {
|
||||
uint16 flags = READ_SCI11ENDIAN_UINT16(_bitmap + 10);
|
||||
if (remap) {
|
||||
flags |= 2;
|
||||
flags |= kBitmapRemap;
|
||||
} else {
|
||||
flags &= ~2;
|
||||
flags &= ~kBitmapRemap;
|
||||
}
|
||||
WRITE_SCI11ENDIAN_UINT16(_bitmap + 10, flags);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user