diff options
author | Vladimir | 2011-06-08 01:19:39 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:32:07 +0200 |
commit | 1494cdb29597369dcaee6dbbd146f63f916af9c0 (patch) | |
tree | 822ec62ff818ed1fdc48faadcb988374b8b58ff8 /engines | |
parent | bba7724aec6b6b440e166fdd95b65be5346977c1 (diff) | |
download | scummvm-rg350-1494cdb29597369dcaee6dbbd146f63f916af9c0.tar.gz scummvm-rg350-1494cdb29597369dcaee6dbbd146f63f916af9c0.tar.bz2 scummvm-rg350-1494cdb29597369dcaee6dbbd146f63f916af9c0.zip |
DREAMWEB: added openfile stub
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamweb.cpp | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/engines/dreamweb/dreamweb.cpp b/engines/dreamweb/dreamweb.cpp index 19e5b29024..2e4be71bcf 100644 --- a/engines/dreamweb/dreamweb.cpp +++ b/engines/dreamweb/dreamweb.cpp @@ -191,7 +191,12 @@ void openfilenocheck(Context &context) { } void openfile(Context &context) { - ::error("openfile"); + uint16 name_ptr = context.dx; + Common::String name; + uint8 c; + while((c = context.data.byte(name_ptr++)) != 0) + name += (char)c; + debug(1, "opening file: %s", name.c_str()); } void createfile(Context &context) { @@ -357,7 +362,7 @@ void dosreturn(Context &context) { } void set16colpalette(Context &context) { - ::error("set16colpalette"); + warning("set16colpalette: STUB"); } void mode640x480(Context &context) { @@ -365,7 +370,7 @@ void mode640x480(Context &context) { } void showgroup(Context &context) { - ::error("showgroup"); + warning("vsync: STUB"); } void fadedos(Context &context) { @@ -377,7 +382,8 @@ void doshake(Context &context) { } void vsync(Context &context) { - ::error("vsync"); + //engine()->waitForVSync(); + warning("vsync: STUB"); } void setmode(Context &context) { |