aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/tony/sound.cpp3
-rw-r--r--engines/tony/sound.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/engines/tony/sound.cpp b/engines/tony/sound.cpp
index 88379baf15..faf91c1fc5 100644
--- a/engines/tony/sound.cpp
+++ b/engines/tony/sound.cpp
@@ -468,9 +468,6 @@ bool FPStream::loadFile(const Common::String &fileName, int bufSize) {
if (_fileLoaded)
unloadFile();
- // Save the codec type
- _codec = FPCODEC_ADPCM;
-
// Open the file stream for reading
if (!_file.open(fileName)) {
// Fallback: try with an extra '0' prefix
diff --git a/engines/tony/sound.h b/engines/tony/sound.h
index 6aa4ae9496..2ea1162d98 100644
--- a/engines/tony/sound.h
+++ b/engines/tony/sound.h
@@ -246,7 +246,6 @@ class FPStream {
private:
uint32 _bufferSize; // Buffer size (bytes)
uint32 _size; // Stream size (bytes)
- uint32 _codec; // CODEC used
Common::File _file; // File handle used for the stream