diff options
author | Filippos Karapetis | 2009-07-09 15:46:26 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-07-09 15:46:26 +0000 |
commit | 982153e0ab72214c6a6a51caee32bb018cbbdabb (patch) | |
tree | 0aa020184a4bb20331ec58d2316aee4106961b5e /engines/sci/engine | |
parent | a17333ed1b817303ca08b0f73fbdf4bf9bdef1fd (diff) | |
download | scummvm-rg350-982153e0ab72214c6a6a51caee32bb018cbbdabb.tar.gz scummvm-rg350-982153e0ab72214c6a6a51caee32bb018cbbdabb.tar.bz2 scummvm-rg350-982153e0ab72214c6a6a51caee32bb018cbbdabb.zip |
restAdjust should be a signed integer. Fixes crashes with SCI1 games that take absolute lofs parameters (a regression of commit #42260)
svn-id: r42297
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h index 92a5b5e411..1759b26dcb 100644 --- a/engines/sci/engine/state.h +++ b/engines/sci/engine/state.h @@ -208,7 +208,7 @@ public: bool _executionStackPosChanged; /**< Set to true if the execution stack position should be re-evaluated by the vm */ reg_t r_acc; /**< Accumulator */ - uint16 restAdjust; /**< &rest register (only used for save games) */ + int16 restAdjust; /**< &rest register (only used for save games) */ reg_t r_prev; /**< previous comparison result */ SegmentId stack_segment; /**< Heap area for the stack to use */ |