summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2019-05-29 20:02:58 +0200
committerFire-Head <Fire-Head@users.noreply.github.com>2019-05-29 20:02:58 +0200
commit197767d1c83f8d940698cd200785e91fbc2ccc98 (patch)
treec1ee0bb77ae0dbef844cf45eb9d2ffb00b08895f /src/audio
parentParticle, ParticleMgr done (diff)
downloadre3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.gz
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.bz2
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.lz
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.xz
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.tar.zst
re3-197767d1c83f8d940698cd200785e91fbc2ccc98.zip
Diffstat (limited to '')
-rw-r--r--src/audio/DMAudio.cpp6
-rw-r--r--src/audio/DMAudio.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp
index 1ab5a52f..400f3fdc 100644
--- a/src/audio/DMAudio.cpp
+++ b/src/audio/DMAudio.cpp
@@ -5,3 +5,9 @@
cDMAudio &DMAudio = *(cDMAudio*)0x95CDBE;
WRAPPER void cDMAudio::ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed) { EAXJMP(0x57CBE0); }
+
+
+void cDMAudio::ResetTimers(UInt32 timerval)
+{
+ ((void (__thiscall *)(cDMAudio *, UInt32))0x57CCD0)(this, timerval);
+} \ No newline at end of file
diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h
index 140c6493..b6d5fc64 100644
--- a/src/audio/DMAudio.h
+++ b/src/audio/DMAudio.h
@@ -6,5 +6,6 @@ class cDMAudio
{
public:
void ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed);
+ void ResetTimers(UInt32 timerval);
};
extern cDMAudio &DMAudio;