diff options
author | richiesams | 2013-08-17 09:48:29 -0500 |
---|---|---|
committer | richiesams | 2013-08-18 19:52:54 -0500 |
commit | bbb8598a3e62e80b1a5efc5de4598276770ca6f1 (patch) | |
tree | aabf6504c5d53372d58a1d4a94ab0ac62ae96a93 /engines | |
parent | b22ed391fe35bd999060f5d3b7c87dcbfbca8ab4 (diff) | |
download | scummvm-rg350-bbb8598a3e62e80b1a5efc5de4598276770ca6f1.tar.gz scummvm-rg350-bbb8598a3e62e80b1a5efc5de4598276770ca6f1.tar.bz2 scummvm-rg350-bbb8598a3e62e80b1a5efc5de4598276770ca6f1.zip |
ZVISION: Modify cmdLoadImage to match new render code
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/console.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/zvision/console.cpp b/engines/zvision/console.cpp index e7c46b95a9..dfafb26e2a 100644 --- a/engines/zvision/console.cpp +++ b/engines/zvision/console.cpp @@ -57,11 +57,9 @@ Console::Console(ZVision *engine) : GUI::Debugger(), _engine(engine) { bool Console::cmdLoadImage(int argc, const char **argv) { if (argc == 4) - _engine->getRenderManager()->renderImageToBackbuffer(argv[1], atoi(argv[2]), atoi(argv[3])); - else if (argc == 8) - _engine->getRenderManager()->renderImageToBackbuffer(argv[1], atoi(argv[2]), atoi(argv[3]), Common::Rect(atoi(argv[4]), atoi(argv[5]), atoi(argv[6]), atoi(argv[7]))); + _engine->getRenderManager()->renderImageToScreen(argv[1], atoi(argv[2]), atoi(argv[3])); else { - DebugPrintf("Use loadimage <fileName> <destinationX> <destinationY> [ <subRectX1> <subRectY2> <subRectX2> <subRectY2> ] to load an image to the screen\n"); + DebugPrintf("Use loadimage <fileName> <destinationX> <destinationY> to load an image to the screen\n"); return true; } |