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

@ -1,18 +1,10 @@
#include "stdafx.h"
#include "Emu/Cell/PPUModule.h"
#include "cellJpgEnc.h"
logs::channel cellJpgEnc("cellJpgEnc", logs::level::notice);
// Error Codes
enum
{
CELL_JPGENC_ERROR_ARG = 0x80611191,
CELL_JPGENC_ERROR_SEQ = 0x80611192,
CELL_JPGENC_ERROR_BUSY = 0x80611193,
CELL_JPGENC_ERROR_EMPTY = 0x80611194,
CELL_JPGENC_ERROR_RESET = 0x80611195,
CELL_JPGENC_ERROR_FATAL = 0x80611196,
};
s32 cellJpgEncQueryAttr()
{