aboutsummaryrefslogtreecommitdiff
path: root/engines/mortevielle
diff options
context:
space:
mode:
authorStrangerke2013-06-29 10:31:30 +0200
committerStrangerke2013-06-29 10:31:30 +0200
commitc2610d66e1d0ceb0ab29243a0dcddd2b8dadd22e (patch)
tree3dd96a9e963b92addaac2552dd6988d09e050597 /engines/mortevielle
parent8e40527813433fb43f07ea45a02740219a40341b (diff)
downloadscummvm-rg350-c2610d66e1d0ceb0ab29243a0dcddd2b8dadd22e.tar.gz
scummvm-rg350-c2610d66e1d0ceb0ab29243a0dcddd2b8dadd22e.tar.bz2
scummvm-rg350-c2610d66e1d0ceb0ab29243a0dcddd2b8dadd22e.zip
MORTEVIELLE: Fix compilation of music code
Diffstat (limited to 'engines/mortevielle')
-rw-r--r--engines/mortevielle/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mortevielle/sound.cpp b/engines/mortevielle/sound.cpp
index 478af41c87..de5c4feba6 100644
--- a/engines/mortevielle/sound.cpp
+++ b/engines/mortevielle/sound.cpp
@@ -177,7 +177,7 @@ void SoundManager::playNote(int frequency, int32 length) {
void SoundManager::musyc(tablint &tb, int nbseg, int att) {
#ifdef DEBUG
- const byte *pSrc = &mem[0x5000 * 16];
+ const byte *pSrc = &_vm->_mem[0x5000 * 16];
// Convert the countdown amount to a tempo rate, and then to note length in microseconds
int tempo = TIMER_FREQUENCY / att;