mirror of
https://github.com/halpz/re3.git
synced 2025-01-09 20:35:27 +00:00
Fixes
This commit is contained in:
parent
e671fe682d
commit
7e7a2b74cd
|
@ -569,19 +569,6 @@ public:
|
||||||
//#if defined(AUDIO_MSS) && !defined(PS2_AUDIO_CHANNELS)
|
//#if defined(AUDIO_MSS) && !defined(PS2_AUDIO_CHANNELS)
|
||||||
//static_assert(sizeof(cAudioManager) == 0x5558, "cAudioManager: error");
|
//static_assert(sizeof(cAudioManager) == 0x5558, "cAudioManager: error");
|
||||||
//#endif
|
//#endif
|
||||||
What were they thinking?
|
|
||||||
*/
|
|
||||||
#ifndef GTA_PS2
|
|
||||||
#define RESET_LOOP_OFFSETS \
|
|
||||||
m_sQueueSample.m_nLoopStart = 0; \
|
|
||||||
m_sQueueSample.m_nLoopEnd = -1;
|
|
||||||
#define SET_LOOP_OFFSETS(sample) \
|
|
||||||
m_sQueueSample.m_nLoopStart = SampleManager.GetSampleLoopStartOffset(sample); \
|
|
||||||
m_sQueueSample.m_nLoopEnd = SampleManager.GetSampleLoopEndOffset(sample);
|
|
||||||
#else
|
|
||||||
#define RESET_LOOP_OFFSETS
|
|
||||||
#define SET_LOOP_OFFSETS(sample)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
extern cAudioManager AudioManager;
|
extern cAudioManager AudioManager;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#include "VuVector.h"
|
|
||||||
#include "General.h"
|
#include "General.h"
|
||||||
#include "RwHelper.h"
|
#include "RwHelper.h"
|
||||||
#include "ModelIndices.h"
|
#include "ModelIndices.h"
|
||||||
|
|
Loading…
Reference in a new issue