mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00: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:
parent
9253f7d645
commit
0842724f94
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue