diff options
author | Vladimir Menshakov | 2011-06-11 16:08:30 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:07 +0200 |
commit | 9034191796702956e84067fd6cdfbc2bae1bf768 (patch) | |
tree | a1c2fd258556621b8f77252130a0eca81a897b55 /engines/dreamweb/runtime.h | |
parent | 3f592047bb6e3558d9aca19e2e50fa2f533d8331 (diff) | |
download | scummvm-rg350-9034191796702956e84067fd6cdfbc2bae1bf768.tar.gz scummvm-rg350-9034191796702956e84067fd6cdfbc2bae1bf768.tar.bz2 scummvm-rg350-9034191796702956e84067fd6cdfbc2bae1bf768.zip |
DREAMWEB: removed dummy video segment, blacklisted video-related functions.
Diffstat (limited to 'engines/dreamweb/runtime.h')
-rw-r--r-- | engines/dreamweb/runtime.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engines/dreamweb/runtime.h b/engines/dreamweb/runtime.h index 525a4df5b9..80ab8db384 100644 --- a/engines/dreamweb/runtime.h +++ b/engines/dreamweb/runtime.h @@ -199,7 +199,7 @@ class Context { FreeSegmentList _freeSegments; public: - enum { kDefaultDataSegment = 0x1000, kVideoSegment = 0xa000 }; + enum { kDefaultDataSegment = 0x1000 }; Register ax, dx, bx, cx, si, di; LowPartOfRegister al; @@ -211,21 +211,17 @@ public: LowPartOfRegister dl; HighPartOfRegister dh; - SegmentRef cs, ds, es, data, video; + SegmentRef cs, ds, es, data; //data == fake segment register always pointing to data segment Flags flags; inline Context(): al(ax), ah(ax), bl(bx), bh(bx), cl(cx), ch(cx), dl(dx), dh(dx), - cs(this), ds(this), es(this), data(this), video(this) { + cs(this), ds(this), es(this), data(this) { _segments[kDefaultDataSegment] = SegmentPtr(new Segment()); - _segments[kVideoSegment] = SegmentPtr(new Segment()); - _segments[kVideoSegment]->data.resize(0x10000); - cs.reset(kDefaultDataSegment); ds.reset(kDefaultDataSegment); es.reset(kDefaultDataSegment); data.reset(kDefaultDataSegment); - video.reset(kVideoSegment); } SegmentRef getSegment(uint16 value) { |