diff options
author | Christoph Mallon | 2011-08-07 11:57:40 +0200 |
---|---|---|
committer | Christoph Mallon | 2011-08-07 15:19:08 +0200 |
commit | c21f87836e9f292c8d6589ece03f6ccdc40dafc5 (patch) | |
tree | 34685c110f22581c9d7f95e960fdcc01f1c0c562 /backends/platform/psp/png_loader.h | |
parent | a5675c3dbe799acf6ced70ba9e83cdd88252bce9 (diff) | |
download | scummvm-rg350-c21f87836e9f292c8d6589ece03f6ccdc40dafc5.tar.gz scummvm-rg350-c21f87836e9f292c8d6589ece03f6ccdc40dafc5.tar.bz2 scummvm-rg350-c21f87836e9f292c8d6589ece03f6ccdc40dafc5.zip |
PSP: Pass the stream as reference to PngLoader.
Diffstat (limited to 'backends/platform/psp/png_loader.h')
-rw-r--r-- | backends/platform/psp/png_loader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/platform/psp/png_loader.h b/backends/platform/psp/png_loader.h index 0ff9d8a65d..48a3220d78 100644 --- a/backends/platform/psp/png_loader.h +++ b/backends/platform/psp/png_loader.h @@ -34,7 +34,7 @@ private: static void warningFn(png_structp png_ptr, png_const_charp warning_msg); static void libReadFunc(png_structp pngPtr, png_bytep data, png_size_t length); - Common::SeekableReadStream *_file; + Common::SeekableReadStream &_file; Buffer *_buffer; Palette *_palette; @@ -57,7 +57,7 @@ public: BAD_FILE }; - PngLoader(Common::SeekableReadStream *file, Buffer &buffer, Palette &palette, + PngLoader(Common::SeekableReadStream &file, Buffer &buffer, Palette &palette, Buffer::HowToSize sizeBy = Buffer::kSizeByTextureSize) : _file(file), _buffer(&buffer), _palette(&palette), _width(0), _height(0), _paletteSize(0), |