summaryrefslogtreecommitdiffstats
path: root/src/audio/SampleManager.cpp
diff options
context:
space:
mode:
author_AG <gennariarmando@outlook.com>2019-06-16 00:20:55 +0200
committer_AG <gennariarmando@outlook.com>2019-06-16 00:24:13 +0200
commitb83a0d469af25f9756698378e6e928abaa4ec7d0 (patch)
tree57d7b6352c1d7c093218a2035eecc812f6b43907 /src/audio/SampleManager.cpp
parentNew updates for Hud.cpp and more. (diff)
downloadre3-b83a0d469af25f9756698378e6e928abaa4ec7d0.tar
re3-b83a0d469af25f9756698378e6e928abaa4ec7d0.tar.gz
re3-b83a0d469af25f9756698378e6e928abaa4ec7d0.tar.bz2
re3-b83a0d469af25f9756698378e6e928abaa4ec7d0.tar.lz
re3-b83a0d469af25f9756698378e6e928abaa4ec7d0.tar.xz
re3-b83a0d469af25f9756698378e6e928abaa4ec7d0.tar.zst
re3-b83a0d469af25f9756698378e6e928abaa4ec7d0.zip
Diffstat (limited to 'src/audio/SampleManager.cpp')
-rw-r--r--src/audio/SampleManager.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/audio/SampleManager.cpp b/src/audio/SampleManager.cpp
new file mode 100644
index 00000000..2319baec
--- /dev/null
+++ b/src/audio/SampleManager.cpp
@@ -0,0 +1,9 @@
+#include "common.h"
+#include "SampleManager.h"
+
+CSampleManager &cSampleManager = *(CSampleManager *)0x7341E0;
+uint32 &CSampleManager::nNumOfMp3Files = *(uint32*)0x95CC00;
+
+bool CSampleManager::IsMP3RadioChannelAvailable() {
+ return nNumOfMp3Files != 0;
+}