mirror of
https://github.com/thunderbrewhq/thunderbrew
synced 2025-12-12 03:02:30 +00:00
chore(build): WHOA_BUILD_FMOD variable now determines whether FMOD is used
This commit is contained in:
parent
2a46ce4d6d
commit
f061cd0cc0
2 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
#include "console/CVar.hpp"
|
#include "console/CVar.hpp"
|
||||||
#include <storm/Memory.hpp>
|
#include <storm/Memory.hpp>
|
||||||
|
|
||||||
#if defined(WHOA_BUILD_SOUND_FMOD)
|
#if defined(WHOA_BUILD_FMOD)
|
||||||
|
|
||||||
FMOD::System* SI2::sm_pGameSystem = nullptr;
|
FMOD::System* SI2::sm_pGameSystem = nullptr;
|
||||||
FMOD::System* SI2::sm_pChatSystem = nullptr;
|
FMOD::System* SI2::sm_pChatSystem = nullptr;
|
||||||
|
|
@ -36,7 +36,7 @@ int32_t SI2::Init(int32_t flag) {
|
||||||
SI2_LOG("=> Setting up Game Sound:");
|
SI2_LOG("=> Setting up Game Sound:");
|
||||||
SI2_LOG(" - SESound Engine Init");
|
SI2_LOG(" - SESound Engine Init");
|
||||||
|
|
||||||
#if defined(WHOA_BUILD_SOUND_FMOD)
|
#if defined(WHOA_BUILD_FMOD)
|
||||||
SI2_LOG(" - FMOD Memory Init");
|
SI2_LOG(" - FMOD Memory Init");
|
||||||
FMOD::Memory_Initialize(nullptr, 0, &FMOD_Alloc, &FMOD_ReAlloc, &FMOD_Free);
|
FMOD::Memory_Initialize(nullptr, 0, &FMOD_Alloc, &FMOD_ReAlloc, &FMOD_Free);
|
||||||
// sub_877440(&off_B1D5E4);
|
// sub_877440(&off_B1D5E4);
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstdarg>
|
#include <cstdarg>
|
||||||
|
|
||||||
#if defined(WHOA_BUILD_SOUND_FMOD)
|
#if defined(WHOA_BUILD_FMOD)
|
||||||
|
|
||||||
#include <fmod.hpp>
|
#include <fmod.hpp>
|
||||||
#include <fmod_errors.h>
|
#include <fmod_errors.h>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue