aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cryomni3d')
-rw-r--r--engines/cryomni3d/image/codecs/hlz.h1
-rw-r--r--engines/cryomni3d/video/hnm_decoder.cpp4
-rw-r--r--engines/cryomni3d/video/hnm_decoder.h2
3 files changed, 2 insertions, 5 deletions
diff --git a/engines/cryomni3d/image/codecs/hlz.h b/engines/cryomni3d/image/codecs/hlz.h
index 4ec8d3e0f1..d8edc63af9 100644
--- a/engines/cryomni3d/image/codecs/hlz.h
+++ b/engines/cryomni3d/image/codecs/hlz.h
@@ -45,7 +45,6 @@ public:
private:
Graphics::Surface *_surface;
int _width, _height;
- int _bitsPerPixel;
};
} // End of namespace Image
diff --git a/engines/cryomni3d/video/hnm_decoder.cpp b/engines/cryomni3d/video/hnm_decoder.cpp
index 1e52744c59..355345beaa 100644
--- a/engines/cryomni3d/video/hnm_decoder.cpp
+++ b/engines/cryomni3d/video/hnm_decoder.cpp
@@ -337,8 +337,8 @@ void HNMDecoder::HNM4VideoTrack::decodeIntraframe(Common::SeekableReadStream *st
}
HNMDecoder::DPCMAudioTrack::DPCMAudioTrack(uint16 channels, uint16 bits, unsigned int sampleRate,
- Audio::Mixer::SoundType soundType) : AudioTrack(soundType), _channels(channels), _bits(bits),
- _audioStream(nullptr), _gotLUT(false), _lastSample(0) {
+ Audio::Mixer::SoundType soundType) : AudioTrack(soundType), _audioStream(nullptr),
+ _gotLUT(false), _lastSample(0) {
if (bits != 16) {
error("Unsupported audio bits");
}
diff --git a/engines/cryomni3d/video/hnm_decoder.h b/engines/cryomni3d/video/hnm_decoder.h
index 681dd87e4b..b09026b674 100644
--- a/engines/cryomni3d/video/hnm_decoder.h
+++ b/engines/cryomni3d/video/hnm_decoder.h
@@ -106,8 +106,6 @@ private:
protected:
Audio::AudioStream *getAudioStream() const { return _audioStream; }
private:
- uint16 _channels;
- uint16 _bits;
Audio::QueuingAudioStream *_audioStream;
bool _gotLUT;
uint16 _lut[256];