changeset 763:ad512e54c689

Fix 10L in engine base code.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 May 2013 06:36:54 +0300
parents 49e96e581ac8
children 181d659bba39
files dmengine.c
diffstat 1 files changed, 10 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/dmengine.c	Thu May 09 06:21:42 2013 +0300
+++ b/dmengine.c	Thu May 09 06:36:54 2013 +0300
@@ -310,26 +310,26 @@
 #ifdef DM_USE_JSS
 void engineGetJSSInfo(DMEngineData *eng, BOOL *playing, int *order, JSSPattern **pat, int *npattern, int *row)
 {
-    JSS_LOCK(eng->plr);
+    JSS_LOCK(eng->jssPlr);
 
-    *playing = eng->plr->isPlaying;
-    *row = eng->plr->row;
-    *pat = eng->plr->pattern;
-    *npattern = eng->plr->npattern;
-    *order = eng->plr->order;
+    *playing = eng->jssPlr->isPlaying;
+    *row = eng->jssPlr->row;
+    *pat = eng->jssPlr->pattern;
+    *npattern = eng->jssPlr->npattern;
+    *order = eng->jssPlr->order;
 
-    JSS_UNLOCK(eng->plr);
+    JSS_UNLOCK(eng->jssPlr);
 }
 
 void engineGetJSSChannelInfo(DMEngineData *eng, const int channel, int *ninst, int *nextInst, int *freq, int *note)
 {
-    JSS_LOCK(eng->plr);
-    JSSPlayerChannel *chn = &(eng->plr->channels[channel]);
+    JSS_LOCK(eng->jssPlr);
+    JSSPlayerChannel *chn = &(eng->jssPlr->channels[channel]);
     *ninst = chn->ninstrument;
     *nextInst = chn->nextInstrument;
     *freq = chn->freq;
     *note = chn->note;
-    JSS_UNLOCK(eng->plr);
+    JSS_UNLOCK(eng->jssPlr);
 }
 #endif