fix: PS-Vita and Xbox 360 compile errors

This commit is contained in:
pieeebot committed 2026-09-08 16:33:35 +01:00
1 parent 886c0c8e29
commit 8970406c7f
4 files changed
+10 -10

No files matched your search

@@ -1119,12 +1119,12 @@ int SoundEngine::OpenStreamThreadProc( void* lpParameter )
// playMusicTick
//
/////////////////////////////////////////////
#ifndef __PSVITA__ // AP - vita will update the music during the mixer callback
void SoundEngine::playMusicTick()
{
#ifndef __PSVITA__ // AP - vita will update the music during the mixer callback
playMusicUpdate();
}
#endif
}
// AP - moved to a separate function so it can be called from the mixer callback on Vita
void SoundEngine::playMusicUpdate()
@@ -98,9 +98,7 @@ public:
virtual void play(int iSound, float x, float y, float z, float volume, float pitch);
virtual void playStreaming(const wstring& name, float x, float y , float z, float volume, float pitch, bool bMusicDelay=true);
virtual void playUI(int iSound, float volume, float pitch);
#ifndef __PSVITA__
virtual void playMusicTick();
#endif
virtual void updateMusicVolume(float fVal);
virtual void updateSystemMusicPlaying(bool isPlaying);
virtual void updateSoundEffectVolume(float fVal);