1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

Update cellVoice.cpp

Caused warnings. Not sure what the actual intention was, this may need to be inverted.
This commit assumes that erase() returning 0 is a sign that deletion
failed, or that there was corruption. There should be a port there.
This commit is contained in:
JohnHolmesII 2019-10-23 23:15:47 +00:00 committed by Ivan
parent 9253f7d645
commit 0842724f94

View File

@ -194,7 +194,7 @@ error_code cellVoiceDeletePort(u32 portId)
if (!manager->is_init)
return CELL_VOICE_ERROR_LIBVOICE_NOT_INIT;
if (!manager->ports.erase((u16)portId) == 0)
if (manager->ports.erase((u16)portId) == 0)
return CELL_VOICE_ERROR_TOPOLOGY;
return CELL_OK;