diff options
author | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-05-31 19:02:26 +0200 |
---|---|---|
committer | Fire-Head <Fire-Head@users.noreply.github.com> | 2019-05-31 19:02:26 +0200 |
commit | 28fce310d5cb9a3a81e0f038192a39abd688d1bd (patch) | |
tree | 392a32b7c35ad574879564487f52ed14d6d4ea5c /src/audio | |
parent | more high level functions (diff) | |
download | re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.gz re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.bz2 re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.lz re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.xz re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.tar.zst re3-28fce310d5cb9a3a81e0f038192a39abd688d1bd.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/DMAudio.cpp | 3 | ||||
-rw-r--r-- | src/audio/DMAudio.h | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/audio/DMAudio.cpp b/src/audio/DMAudio.cpp index a1165110..019089e7 100644 --- a/src/audio/DMAudio.cpp +++ b/src/audio/DMAudio.cpp @@ -4,6 +4,9 @@ cDMAudio &DMAudio = *(cDMAudio*)0x95CDBE; +WRAPPER void cDMAudio::ReleaseDigitalHandle(void) { EAXJMP(0x57CA10); } +WRAPPER void cDMAudio::ReacquireDigitalHandle(void) { EAXJMP(0x57CA30); } + WRAPPER void cDMAudio::Service(void) { EAXJMP(0x57C7A0); } WRAPPER void cDMAudio::ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed) { EAXJMP(0x57CBE0); } WRAPPER void cDMAudio::ResetTimers(UInt32 timerval) { EAXJMP(0x57CCD0); } diff --git a/src/audio/DMAudio.h b/src/audio/DMAudio.h index fb341d82..50616289 100644 --- a/src/audio/DMAudio.h +++ b/src/audio/DMAudio.h @@ -5,6 +5,8 @@ class CEntity; class cDMAudio { public: + void ReleaseDigitalHandle(void); + void ReacquireDigitalHandle(void); void Service(void); void ReportCollision(CEntity *A, CEntity *B, uint8 surfA, uint8 surfB, float impulse, float speed); void ResetTimers(UInt32 timerval); |