SCI: Fix support for 32-bit SCI3 script offsets

This commit is contained in:
Colin Snover 2017-02-18 16:17:11 -06:00
parent 2906ca9947
commit eadf5d818f
8 changed files with 58 additions and 61 deletions

View file

@ -194,7 +194,7 @@ SegmentRef DataStack::dereference(reg_t pointer) {
Common::Array<reg_t> DataStack::listAllOutgoingReferences(reg_t object) const {
Common::Array<reg_t> tmp;
for (int i = 0; i < _capacity; i++)
for (uint i = 0; i < _capacity; i++)
tmp.push_back(_entries[i]);
return tmp;