diff options
author | Filippos Karapetis | 2009-09-24 10:30:05 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-24 10:30:05 +0000 |
commit | 1cc326dda097ce13038c72469009206425266e2d (patch) | |
tree | 8fb5c4cd305397c9811c314e2de9d94007e62c3a | |
parent | f2c4bd514f7f5cf11597211040b43c39191e6470 (diff) | |
download | scummvm-rg350-1cc326dda097ce13038c72469009206425266e2d.tar.gz scummvm-rg350-1cc326dda097ce13038c72469009206425266e2d.tar.bz2 scummvm-rg350-1cc326dda097ce13038c72469009206425266e2d.zip |
Changed make_reg to accept the same type of parameters as a reg_t does - i.e. 16-bit integers, instead of 32-bit ones
svn-id: r44302
-rw-r--r-- | engines/sci/engine/vm_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/vm_types.h b/engines/sci/engine/vm_types.h index 6152501f46..ba8a4d7057 100644 --- a/engines/sci/engine/vm_types.h +++ b/engines/sci/engine/vm_types.h @@ -69,7 +69,7 @@ typedef int Selector; #define PRINT_STK(v) (unsigned) (v - s->stack_base) -static inline reg_t make_reg(int segment, int offset) { +static inline reg_t make_reg(SegmentId segment, int16 offset) { reg_t r; r.offset = offset; r.segment = segment; |