diff options
author | Vladimir Menshakov | 2011-06-09 23:49:12 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:33:48 +0200 |
commit | e654b5063201f4264533fde2964a54a7df692215 (patch) | |
tree | 25a62cc898dbd8b300be40e520cecdb2c594bffb | |
parent | d2688a520bf58bb5aef751ce7a331fc900532c98 (diff) | |
download | scummvm-rg350-e654b5063201f4264533fde2964a54a7df692215.tar.gz scummvm-rg350-e654b5063201f4264533fde2964a54a7df692215.tar.bz2 scummvm-rg350-e654b5063201f4264533fde2964a54a7df692215.zip |
DREAMWEB: removed generated code
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 4714511296..5c8c6da0c9 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -504,27 +504,7 @@ void readoneblock(Context &context) { readfromfile(context); } -// TODO: This is already defined in dreamgen.cpp, so expose it should be -// exposed from there. Once that's done, remove this copy! - -static void readabyte(Context & context) { - context._cmp(context.si, 30000); - if (!context.flags.z()) goto notendblock; - context.push(context.bx); - context.push(context.es); - context.push(context.di); - context.push(context.ds); - context.push(context.si); - readoneblock(context); - context.si = context.pop(); - context.ds = context.pop(); - context.di = context.pop(); - context.es = context.pop(); - context.bx = context.pop(); - context.si = 0; -notendblock: - context._lodsb(); -} +void readabyte(Context & context); void showpcx(Context &context) { openfile(context); |