- backend update from GZDoom.

This commit is contained in:
Christoph Oelckers 2021-01-29 13:20:00 +01:00
parent 7b72fccfa2
commit e7ab4cd176
16 changed files with 333 additions and 188 deletions

View file

@ -451,7 +451,7 @@ PInt::PInt(unsigned int size, bool unsign, bool compatible)
else
{
Symbols.AddSymbol(Create<PSymbolConstNumeric>(NAME_Min, this, 0u));
Symbols.AddSymbol(Create<PSymbolConstNumeric>(NAME_Max, this, (1u << ((8 * size) - 1))));
Symbols.AddSymbol(Create<PSymbolConstNumeric>(NAME_Max, this, (uint32_t) (((uint64_t) 1u << (size * 8)) - 1uL)));
}
SetOps();
}