diff options
Diffstat (limited to 'scumm/imuse_digi/dimuse_sndmgr.cpp')
| -rw-r--r-- | scumm/imuse_digi/dimuse_sndmgr.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/imuse_digi/dimuse_sndmgr.cpp b/scumm/imuse_digi/dimuse_sndmgr.cpp index bdc6acf4ff..0ff6b32be0 100644 --- a/scumm/imuse_digi/dimuse_sndmgr.cpp +++ b/scumm/imuse_digi/dimuse_sndmgr.cpp @@ -331,6 +331,12 @@ int ImuseDigiSndMgr::getNumMarkers(soundStruct *soundHandle) { return soundHandle->numMarkers; } +int ImuseDigiSndMgr::getRegionOffset(soundStruct *soundHandle, int region) { + assert(soundHandle && checkForProperHandle(soundHandle)); + assert(region >= 0 && region < soundHandle->numRegions); + return soundHandle->region[region].offset; +} + int ImuseDigiSndMgr::getJumpIdByRegionAndHookId(soundStruct *soundHandle, int region, int hookId) { assert(soundHandle && checkForProperHandle(soundHandle)); assert(region >= 0 && region < soundHandle->numRegions); |
