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:
AnnieL 2016-07-14 22:02:07 +01:00 committed by Ivan
parent ca835ba68a
commit dc34d5b350
14 changed files with 456 additions and 53 deletions

View file

@ -2,18 +2,10 @@
#include "Emu/System.h"
#include "Emu/Cell/PPUModule.h"
#include "cellCelpEnc.h"
logs::channel cellCelpEnc("cellCelpEnc", logs::level::notice);
// Return Codes
enum
{
CELL_CELPENC_ERROR_FAILED = 0x80614001,
CELL_CELPENC_ERROR_SEQ = 0x80614002,
CELL_CELPENC_ERROR_ARG = 0x80614003,
CELL_CELPENC_ERROR_CORE_FAILED = 0x80614081,
CELL_CELPENC_ERROR_CORE_SEQ = 0x80614082,
CELL_CELPENC_ERROR_CORE_ARG = 0x80614083,
};
s32 cellCelpEncQueryAttr()
{