diff options
author | Chris Apers | 2003-08-18 12:53:26 +0000 |
---|---|---|
committer | Chris Apers | 2003-08-18 12:53:26 +0000 |
commit | d76b92d2b7c3050d26c587dae059fe896b90c60f (patch) | |
tree | 2d0987cf646ad129487e9ed5b2bc0922ee0571d1 | |
parent | a3c5ba1da4bdd400ef840e9b99b467c91494843d (diff) | |
download | scummvm-rg350-d76b92d2b7c3050d26c587dae059fe896b90c60f.tar.gz scummvm-rg350-d76b92d2b7c3050d26c587dae059fe896b90c60f.tar.bz2 scummvm-rg350-d76b92d2b7c3050d26c587dae059fe896b90c60f.zip |
Make smush player works under PalmOS
svn-id: r9763
-rw-r--r-- | scumm/smush/codec47.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/smush/codec47.cpp b/scumm/smush/codec47.cpp index cacd1bd937..de97ee8cd1 100644 --- a/scumm/smush/codec47.cpp +++ b/scumm/smush/codec47.cpp @@ -519,7 +519,7 @@ void Codec47Decoder::init(int width, int height) { _frameSize = _width * _height; _deltaSize = _frameSize * 3; - _deltaBuf = new byte[_deltaSize]; + _deltaBuf = (byte *)malloc(_deltaSize); _deltaBufs[0] = _deltaBuf; _deltaBufs[1] = _deltaBuf + _frameSize; _curBuf = _deltaBuf + _frameSize * 2; @@ -534,7 +534,7 @@ Codec47Decoder::Codec47Decoder() { void Codec47Decoder::deinit() { _lastTableWidth = -1; if (_deltaBuf) { - delete []_deltaBuf; + free(_deltaBuf); _deltaSize = 0; _deltaBuf = 0; _deltaBufs[0] = 0; |