diff options
author | md5 | 2011-02-21 05:18:21 +0200 |
---|---|---|
committer | md5 | 2011-02-21 05:18:21 +0200 |
commit | 601e8c0de128899d78353a6b1ee49181c92f55f1 (patch) | |
tree | d6dcc813c4998cb5673b3d63d306525890e2017f /gui | |
parent | 9afc89e67c287c3253e20a0a724774e84fa244f3 (diff) | |
download | scummvm-rg350-601e8c0de128899d78353a6b1ee49181c92f55f1.tar.gz scummvm-rg350-601e8c0de128899d78353a6b1ee49181c92f55f1.tar.bz2 scummvm-rg350-601e8c0de128899d78353a6b1ee49181c92f55f1.zip |
SCI: Added a custom modulo reg_t operator
This version only handles signed integers. The modulo operator was changed in
SCI0 late (Iceman, and perhaps all SCI0 0.000.685 and later) so that it handles
negative numbers as well. We need to see if there really is a need to keep two
different modulo operators (which will only be necessary if any SCI0 game asks
for the modulo of a negative number by mistake, or a number larger than 32767).
Thus, error out in such a case for SCI0, so that this can be investigated
properly
Diffstat (limited to 'gui')
0 files changed, 0 insertions, 0 deletions