fix(Orbis): stop asserting when voicechat fails
This commit is contained in:
1 parent
f992d40795
commit
4099ed477d
2 files changed
+27
-15
No files matched your search
@@ -8,8 +8,6 @@
|
||||
|
||||
static const int sc_maxVoiceDataSize = 2048;
|
||||
|
||||
#define VOICE_INVALID_PORT_ID 0xff // str1k3r - use of SCE_VOICE_INVALID_PORT_ID causes a crash when loading / making worlds.
|
||||
|
||||
class VoicePacket
|
||||
{
|
||||
static const int MAX_LOCAL_PLAYER_COUNT = 4;
|
||||
@@ -89,8 +87,8 @@ public:
|
||||
public:
|
||||
SQRLocalVoiceDevice()
|
||||
: m_localUserID(SCE_USER_SERVICE_USER_ID_INVALID)
|
||||
, m_headsetPort(VOICE_INVALID_PORT_ID)
|
||||
, m_microphonePort(VOICE_INVALID_PORT_ID)
|
||||
, m_headsetPort(SCE_VOICE_INVALID_PORT_ID)
|
||||
, m_microphonePort(SCE_VOICE_INVALID_PORT_ID)
|
||||
{
|
||||
for(int i=0;i<4;i++)
|
||||
m_localConnections[i] = 0;
|
||||
|
||||
Reference in new issue
Block a user