summaryrefslogtreecommitdiffstats
path: root/src/audio
diff options
context:
space:
mode:
authorerorcun <erayorcunus@gmail.com>2020-03-17 18:35:18 +0100
committerGitHub <noreply@github.com>2020-03-17 18:35:18 +0100
commit1ab6702ea681946a2947190f612e539452c3d152 (patch)
tree82d6518ad97081e3438c6e03d916e6b72d05ebce /src/audio
parentMerge pull request #344 from erorcun/erorcun (diff)
parentUse WriteDataToBufferPointer (diff)
downloadre3-1ab6702ea681946a2947190f612e539452c3d152.tar
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.gz
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.bz2
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.lz
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.xz
re3-1ab6702ea681946a2947190f612e539452c3d152.tar.zst
re3-1ab6702ea681946a2947190f612e539452c3d152.zip
Diffstat (limited to 'src/audio')
-rw-r--r--src/audio/AudioScriptObject.cpp2
-rw-r--r--src/audio/AudioScriptObject.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/audio/AudioScriptObject.cpp b/src/audio/AudioScriptObject.cpp
index c5115ddb..796cd88b 100644
--- a/src/audio/AudioScriptObject.cpp
+++ b/src/audio/AudioScriptObject.cpp
@@ -3,6 +3,8 @@
#include "AudioScriptObject.h"
#include "Pools.h"
+WRAPPER void cAudioScriptObject::SaveAllAudioScriptObjects(uint8 *buf, uint32 *size) { EAXJMP(0x57c460); }
+
void
cAudioScriptObject::Reset()
{
diff --git a/src/audio/AudioScriptObject.h b/src/audio/AudioScriptObject.h
index 9aac1c30..1db19865 100644
--- a/src/audio/AudioScriptObject.h
+++ b/src/audio/AudioScriptObject.h
@@ -141,6 +141,8 @@ public:
static void* operator new(size_t, int);
static void operator delete(void*, size_t);
static void operator delete(void*, int);
+
+ static void SaveAllAudioScriptObjects(uint8 *buf, uint32 *size);
};
static_assert(sizeof(cAudioScriptObject) == 20, "cAudioScriptObject: error");