mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00:00
cell: add several error (return) codes and definitions (#1914)
* cellHttp: add error codes Adds error codes for cellHttp and cellHttps * libDaisy: adds error codes and definitions Adds error codes, assertations and definitions for cellDaisy. * cellHttpUtil: add error codes Adds error codes for cellHttpUtil. * cellCelp8Enc: moves error codes, adds definitions Moves error codes to cellCelp8Enc.h, adds some definitions. * cellCelpEnc: moves error codes, adds definitions * cellJpgEnc: adds error codes and definitions Moves the existant error codes to cellJpgEnc.h and adds more error codes / definitions. * cellVoice: moves error codes, adds definitions Moves error codes to cellVoice.h, adds most cellVoice definitions * Fix typos
This commit is contained in:
parent
ca835ba68a
commit
dc34d5b350
14 changed files with 456 additions and 53 deletions
|
|
@ -2,30 +2,10 @@
|
|||
#include "Emu/System.h"
|
||||
#include "Emu/Cell/PPUModule.h"
|
||||
|
||||
#include "cellVoice.h"
|
||||
|
||||
logs::channel cellVoice("cellVoice", logs::level::notice);
|
||||
|
||||
// Error Codes
|
||||
enum
|
||||
{
|
||||
CELL_VOICE_ERROR_ADDRESS_INVALID = 0x8031080a,
|
||||
CELL_VOICE_ERROR_ARGUMENT_INVALID = 0x80310805,
|
||||
CELL_VOICE_ERROR_CONTAINER_INVALID = 0x80310806,
|
||||
CELL_VOICE_ERROR_DEVICE_NOT_PRESENT = 0x80310812,
|
||||
CELL_VOICE_ERROR_EVENT_DISPATCH = 0x80310811,
|
||||
CELL_VOICE_ERROR_EVENT_QUEUE = 0x8031080f,
|
||||
CELL_VOICE_ERROR_GENERAL = 0x80310803,
|
||||
CELL_VOICE_ERROR_LIBVOICE_INITIALIZED = 0x80310802,
|
||||
CELL_VOICE_ERROR_LIBVOICE_NOT_INIT = 0x80310801,
|
||||
CELL_VOICE_ERROR_NOT_IMPLEMENTED = 0x80310809,
|
||||
CELL_VOICE_ERROR_PORT_INVALID = 0x80310804,
|
||||
CELL_VOICE_ERROR_RESOURCE_INSUFFICIENT = 0x80310808,
|
||||
CELL_VOICE_ERROR_SERVICE_ATTACHED = 0x8031080c,
|
||||
CELL_VOICE_ERROR_SERVICE_DETACHED = 0x8031080b,
|
||||
CELL_VOICE_ERROR_SERVICE_HANDLE = 0x80310810,
|
||||
CELL_VOICE_ERROR_SERVICE_NOT_FOUND = 0x8031080d,
|
||||
CELL_VOICE_ERROR_SHAREDMEMORY = 0x8031080e,
|
||||
CELL_VOICE_ERROR_TOPOLOGY = 0x80310807,
|
||||
};
|
||||
|
||||
s32 cellVoiceConnectIPortToOPort()
|
||||
{
|
||||
|
|
@ -221,7 +201,8 @@ s32 cellVoiceWriteToIPortEx()
|
|||
|
||||
s32 cellVoiceWriteToIPortEx2()
|
||||
{
|
||||
throw EXCEPTION("");
|
||||
UNIMPLEMENTED_FUNC(cellVoice);
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
s32 cellVoiceReadFromOPort()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue