diff options
author | Vladimir Menshakov | 2011-06-10 01:02:22 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:50 +0200 |
commit | 834816db60fac762c44d4526fb5d48f689b71039 (patch) | |
tree | 9ea74241623e98752bad33112d0b041f9c37ade4 | |
parent | 2f9e63579d22ff1075620ef16b3c04e829dc73f4 (diff) | |
download | scummvm-rg350-834816db60fac762c44d4526fb5d48f689b71039.tar.gz scummvm-rg350-834816db60fac762c44d4526fb5d48f689b71039.tar.bz2 scummvm-rg350-834816db60fac762c44d4526fb5d48f689b71039.zip |
DREAMWEB: fixed loadseg
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 5c8c6da0c9..3493e5d1e0 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -426,12 +426,12 @@ void saveseg(Context &context) { } void loadseg(Context &context) { - uint16 dst_offset = context.dx; - uint16 size = context.ax; - context.ax = context.es.word(context.di); context.di += 2; + uint16 dst_offset = context.dx; + uint16 size = context.ax; + debug(1, "loadseg(%04x:%u, %u)", (uint16)context.ds, dst_offset, size); context.ax = engine()->readFromFile(context.ds.ptr(dst_offset, size), size); context.flags._c = false; |