diff options
author | Vladimir | 2011-06-07 00:56:23 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:30:34 +0200 |
commit | 61fe610c730ec3488e98b26d5a01e66526d33e85 (patch) | |
tree | 565ef27b183ce143efcc5e591521cba39917d561 /engines/dreamweb/runtime.h | |
parent | 1ee6b0af692d0dc478ad50ec32c8a7144c40ee40 (diff) | |
download | scummvm-rg350-61fe610c730ec3488e98b26d5a01e66526d33e85.tar.gz scummvm-rg350-61fe610c730ec3488e98b26d5a01e66526d33e85.tar.bz2 scummvm-rg350-61fe610c730ec3488e98b26d5a01e66526d33e85.zip |
DREAMWEB: fixed default segment addr
Diffstat (limited to 'engines/dreamweb/runtime.h')
-rw-r--r-- | engines/dreamweb/runtime.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h index 6adcdc73be..6b5f650fc6 100644 --- a/engines/dreamweb/runtime.h +++ b/engines/dreamweb/runtime.h @@ -181,7 +181,7 @@ class Context { SegmentMap _segments; public: - enum { kDefaultDataSegment }; + enum { kDefaultDataSegment = 0x1000 }; Register ax, dx, bx, cx, si, di; RegisterPart<kLowPartOfRegister> al; @@ -198,9 +198,9 @@ public: inline Context(): al(ax), ah(ax), bl(bx), bh(bx), cl(cx), ch(cx), dl(dx), dh(dx), cs(this), ds(this), es(this) { _segments[kDefaultDataSegment] = Segment(); - cs.reset(1); - ds.reset(1); - es.reset(1); + cs.reset(kDefaultDataSegment); + ds.reset(kDefaultDataSegment); + es.reset(kDefaultDataSegment); } SegmentRef getSegment(uint16 value) { |