aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk/sound.h
diff options
context:
space:
mode:
authorMatthew Hoops2011-01-22 16:16:30 +0000
committerMatthew Hoops2011-01-22 16:16:30 +0000
commit755558de042d76751e4684fb8e56bd9463cfef89 (patch)
treee7a37c375f125a673dee7326f71ab71bd5f8d852 /engines/mohawk/sound.h
parenta8e6fa3346a9cf5107629397545cb04e44b831c6 (diff)
downloadscummvm-rg350-755558de042d76751e4684fb8e56bd9463cfef89.tar.gz
scummvm-rg350-755558de042d76751e4684fb8e56bd9463cfef89.tar.bz2
scummvm-rg350-755558de042d76751e4684fb8e56bd9463cfef89.zip
MOHAWK: Update the ADPC chunk code
svn-id: r55431
Diffstat (limited to 'engines/mohawk/sound.h')
-rw-r--r--engines/mohawk/sound.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/mohawk/sound.h b/engines/mohawk/sound.h
index 96cb555942..de8dffe1d3 100644
--- a/engines/mohawk/sound.h
+++ b/engines/mohawk/sound.h
@@ -80,7 +80,10 @@ struct ADPCMStatus { // Holds ADPCM status data, but is irrelevant for us.
struct StatusItem {
uint32 sampleFrame;
- uint32 channelStatus[MAX_CHANNELS];
+ struct {
+ int16 last;
+ uint16 stepIndex;
+ } channelStatus[MAX_CHANNELS];
} *statusItems;
};