diff options
| author | LagoLunatic <LagoLunatic@users.noreply.github.com> | 2025-12-08 00:49:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-07 21:49:42 -0800 |
| commit | 251d49c6f14151b842b7ceb9f2dfc5e0a0e69fc5 (patch) | |
| tree | 5e6e308e8a188c1c3cca5fef3715d2b444d9f450 /src/Z2AudioLib | |
| parent | 07a4e6b05289b7efcd37f9c69afb8336c0171aa0 (diff) | |
JASBNKParser OK, Z2Audience OK (#2929)
Diffstat (limited to 'src/Z2AudioLib')
| -rw-r--r-- | src/Z2AudioLib/Z2Audience.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Z2AudioLib/Z2Audience.cpp b/src/Z2AudioLib/Z2Audience.cpp index dd7baa72ca..fa466f962b 100644 --- a/src/Z2AudioLib/Z2Audience.cpp +++ b/src/Z2AudioLib/Z2Audience.cpp @@ -500,7 +500,11 @@ Z2Audience::Z2Audience() : JASGlobalInstance<Z2Audience>(true), field_0x4(1.0f), } Z2Audience::~Z2Audience() { - // JUT_ASSERT(751, !isActive()); // TODO: need to setup rest of JASMemPool stuff + JUT_ASSERT(751, !isActive()); +} + +bool Z2Audience::isActive() const { + return Z2Audible::getTotalMemCount() != Z2Audible::getFreeMemCount(); } void Z2Audience::setAudioCamera(f32 (*param_0)[4], Vec& pos, Vec& param_2, f32 param_3, |
