mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-01 12:41:16 +00:00
Minor adjustments
This commit is contained in:
parent
8b3a1e50ed
commit
e585ed5ab5
@ -7,8 +7,6 @@
|
|||||||
#include "mxpresenterlist.h"
|
#include "mxpresenterlist.h"
|
||||||
#include "mxtypes.h"
|
#include "mxtypes.h"
|
||||||
|
|
||||||
#include <dsound.h>
|
|
||||||
|
|
||||||
// VTABLE 0x100dc6b0
|
// VTABLE 0x100dc6b0
|
||||||
// SIZE 0x2c
|
// SIZE 0x2c
|
||||||
class MxMediaManager : public MxCore
|
class MxMediaManager : public MxCore
|
||||||
|
|||||||
@ -29,7 +29,8 @@ void MxSoundManager::Destroy(MxBool p_param)
|
|||||||
if (this->m_thread) {
|
if (this->m_thread) {
|
||||||
this->m_thread->Terminate();
|
this->m_thread->Terminate();
|
||||||
delete this->m_thread;
|
delete this->m_thread;
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
TickleManager()->UnregisterClient(this);
|
TickleManager()->UnregisterClient(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -4,9 +4,10 @@
|
|||||||
#include "decomp.h"
|
#include "decomp.h"
|
||||||
#include "mxaudiomanager.h"
|
#include "mxaudiomanager.h"
|
||||||
|
|
||||||
|
#include <dsound.h>
|
||||||
|
|
||||||
// VTABLE 0x100dc128
|
// VTABLE 0x100dc128
|
||||||
// SIZE 0x3c
|
// SIZE 0x3c
|
||||||
// Base vtables are: MxCore -> 0x100dc6b0 -> MxAudioManager -> MxSoundManager
|
|
||||||
class MxSoundManager : public MxAudioManager
|
class MxSoundManager : public MxAudioManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
@ -16,6 +17,7 @@ class MxSoundManager : public MxAudioManager
|
|||||||
private:
|
private:
|
||||||
void Init();
|
void Init();
|
||||||
void Destroy(MxBool);
|
void Destroy(MxBool);
|
||||||
|
|
||||||
undefined4 m_unk30;
|
undefined4 m_unk30;
|
||||||
LPDIRECTSOUNDBUFFER m_dsBuffer; // 0x34
|
LPDIRECTSOUNDBUFFER m_dsBuffer; // 0x34
|
||||||
undefined m_unk35[4];
|
undefined m_unk35[4];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user