From ca6f59217f8cd2f55daae670cbe3c085820e88d1 Mon Sep 17 00:00:00 2001 From: lukaslw Date: Mon, 9 Jun 2014 20:32:39 +0200 Subject: PRINCE: PScr class - clean up --- engines/prince/pscr.cpp | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'engines/prince/pscr.cpp') 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 +} -- cgit v1.2.3