aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/prince/pscr.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/prince/pscr.cpp b/engines/prince/pscr.cpp
index 7402e46e43..ea6de2a5b6 100644
--- a/engines/prince/pscr.cpp
+++ b/engines/prince/pscr.cpp
@@ -44,13 +44,9 @@ PScr::~PScr() {
}
void PScr::loadSurface(Common::SeekableReadStream &stream) {
- //stream.skip(4);
- int x = stream.readUint16LE();
- int y = stream.readUint16LE();
+ stream.skip(4);
int width = stream.readUint16LE();
int height = stream.readUint16LE();
- debug("x: %d, y: %d", x, y);
- debug("w: %d, h: %d", width, height);
_surface = new Graphics::Surface();
_surface->create(width, height, Graphics::PixelFormat::createFormatCLUT8());
@@ -87,4 +83,4 @@ bool PScr::loadFromStream(Common::SeekableReadStream &stream) {
return true;
}
-} \ No newline at end of file
+}