mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-26 17:51:16 +00:00
Use constant for 0x7f
This commit is contained in:
parent
bf41dfcec9
commit
340b8bc853
@ -5,6 +5,8 @@
|
|||||||
#include "mxomni.h"
|
#include "mxomni.h"
|
||||||
#include "mxsoundmanager.h"
|
#include "mxsoundmanager.h"
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
DECOMP_SIZE_ASSERT(MxWavePresenter, 0x6c);
|
DECOMP_SIZE_ASSERT(MxWavePresenter, 0x6c);
|
||||||
DECOMP_SIZE_ASSERT(MxWavePresenter::WaveFormat, 0x1c);
|
DECOMP_SIZE_ASSERT(MxWavePresenter::WaveFormat, 0x1c);
|
||||||
|
|
||||||
@ -124,7 +126,7 @@ void MxWavePresenter::StartingTickle()
|
|||||||
waveFormatEx.wBitsPerSample = m_waveFormat->m_waveFormatEx.wBitsPerSample;
|
waveFormatEx.wBitsPerSample = m_waveFormat->m_waveFormatEx.wBitsPerSample;
|
||||||
|
|
||||||
if (waveFormatEx.wBitsPerSample == 8)
|
if (waveFormatEx.wBitsPerSample == 8)
|
||||||
m_unk67 = 0x7f;
|
m_unk67 = SCHAR_MAX;
|
||||||
|
|
||||||
if (waveFormatEx.wBitsPerSample == 16)
|
if (waveFormatEx.wBitsPerSample == 16)
|
||||||
m_unk67 = 0;
|
m_unk67 = 0;
|
||||||
|
|||||||
@ -64,7 +64,7 @@ class MxWavePresenter : public MxSoundPresenter {
|
|||||||
MxU8 m_unk64;
|
MxU8 m_unk64;
|
||||||
MxBool m_unk65;
|
MxBool m_unk65;
|
||||||
MxBool m_unk66;
|
MxBool m_unk66;
|
||||||
undefined m_unk67;
|
MxS8 m_unk67;
|
||||||
undefined m_unk68;
|
undefined m_unk68;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user