diff options
Diffstat (limited to 'engines/sci/engine/vm_types.h')
-rw-r--r-- | engines/sci/engine/vm_types.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/engine/vm_types.h b/engines/sci/engine/vm_types.h index ba8a4d7057..62dc35aae7 100644 --- a/engines/sci/engine/vm_types.h +++ b/engines/sci/engine/vm_types.h @@ -67,9 +67,13 @@ typedef reg_t *StackPtr; typedef int Selector; #define NULL_SELECTOR -1 +// Offset sent to indicate an error, or that an operation has finished +// (depending on the case) +#define SIGNAL_OFFSET 0xffff + #define PRINT_STK(v) (unsigned) (v - s->stack_base) -static inline reg_t make_reg(SegmentId segment, int16 offset) { +static inline reg_t make_reg(SegmentId segment, uint16 offset) { reg_t r; r.offset = offset; r.segment = segment; |