mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
loom towns needs this as well you can now learn f
svn-id: r9814
This commit is contained in:
parent
bcd1f49125
commit
abf7f33dc4
@ -487,7 +487,8 @@ int Scumm::readVar(uint var) {
|
||||
}
|
||||
|
||||
if (var & 0x8000) {
|
||||
if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE)) {
|
||||
if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE) ||
|
||||
(_gameId == GID_LOOM && (_features & GF_FMTOWNS))) {
|
||||
int bit = var & 0xF;
|
||||
var = (var >> 4) & 0xFF;
|
||||
|
||||
@ -557,7 +558,8 @@ void Scumm::writeVar(uint var, int value) {
|
||||
}
|
||||
|
||||
if (var & 0x8000) {
|
||||
if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE)) {
|
||||
if ((_gameId == GID_ZAK256) || (_features & GF_OLD_BUNDLE) ||
|
||||
(_gameId == GID_LOOM && (_features & GF_FMTOWNS))) {
|
||||
// In the old games, the bit variables were using the same memory
|
||||
// as the normal variables!
|
||||
int bit = var & 0xF;
|
||||
|
Loading…
x
Reference in New Issue
Block a user