diff options
| author | lukaslw | 2014-06-09 20:32:39 +0200 | 
|---|---|---|
| committer | lukaslw | 2014-06-22 20:08:53 +0200 | 
| commit | ca6f59217f8cd2f55daae670cbe3c085820e88d1 (patch) | |
| tree | b2f48df741a04303b015808b8f3b2b60eb7db7b1 | |
| parent | 8f98d80f4eec40e93977fda2315f09a59a722960 (diff) | |
| download | scummvm-rg350-ca6f59217f8cd2f55daae670cbe3c085820e88d1.tar.gz scummvm-rg350-ca6f59217f8cd2f55daae670cbe3c085820e88d1.tar.bz2 scummvm-rg350-ca6f59217f8cd2f55daae670cbe3c085820e88d1.zip | |
PRINCE: PScr class - clean up
| -rw-r--r-- | engines/prince/pscr.cpp | 8 | 
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 +} | 
