1
0
Fork 0
mirror of https://github.com/halpz/re3.git synced 2025-01-09 20:35:27 +00:00
This commit is contained in:
Sergeanur 2021-06-25 01:16:03 +03:00
parent e671fe682d
commit 7e7a2b74cd
2 changed files with 0 additions and 14 deletions

View file

@ -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;

View file

@ -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"