aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/sound_nebular.h
diff options
context:
space:
mode:
authorMatthew Hoops2015-04-04 20:09:30 -0400
committerMatthew Hoops2015-07-07 20:19:44 -0400
commit4c6724c5faabad1618e5d538ec27a1c334ed4c6e (patch)
treeb70647fe59c5bb5ec01c86a4f7119b4904c0e33b /engines/mads/nebular/sound_nebular.h
parent5024ae136a73d90b1d5a450aed0f990f226e3056 (diff)
downloadscummvm-rg350-4c6724c5faabad1618e5d538ec27a1c334ed4c6e.tar.gz
scummvm-rg350-4c6724c5faabad1618e5d538ec27a1c334ed4c6e.tar.bz2
scummvm-rg350-4c6724c5faabad1618e5d538ec27a1c334ed4c6e.zip
MADS: Use the built-in OPL timer
Diffstat (limited to 'engines/mads/nebular/sound_nebular.h')
-rw-r--r--engines/mads/nebular/sound_nebular.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/engines/mads/nebular/sound_nebular.h b/engines/mads/nebular/sound_nebular.h
index 8c1d7f8021..1267914e35 100644
--- a/engines/mads/nebular/sound_nebular.h
+++ b/engines/mads/nebular/sound_nebular.h
@@ -195,6 +195,11 @@ private:
void processSample();
void updateFNumber();
+
+ /**
+ * Timer function for OPL
+ */
+ void onTimer();
protected:
int _commandParam;
@@ -309,10 +314,6 @@ public:
int _activeChannelReg;
int _v11;
bool _amDep, _vibDep, _splitPoint;
- int _samplesPerCallback;
- int _samplesPerCallbackRemainder;
- int _samplesTillCallback;
- int _samplesTillCallbackRemainder;
public:
/**
* Constructor