pcsx2/fps2bios/kernel/iopload/include/err.h
Jake.Stine 6ebfae8ef1 Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official.
Added interface.cpp (plugin/pcsx2 interface) and savestate.cpp to SPU2ghz, to help clean up SPU2.cpp.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 21:15:56 +00:00

30 lines
683 B
C

#ifndef __ERR_H__
#define __ERR_H__
//#define ERR_VER 0x
#define ERROR_OK 0
#define ERROR_UNK -1
//bad exception code
#define ERROR_BAD_EXCODE -50
//no exception handler for that code
#define ERROR_EXCODE_NOTFOUND -51
//already used
#define ERROR_USED_EXCODE -52
#define ERROR_INTR_CONTEXT -100
#define ERROR_DOES_EXIST -104
#define ERROR_DOESNOT_EXIST -105
#define ERROR_NO_TIMER -150
#define ERROR_NOT_IRX -201
#define ERROR_FILE_NOT_FOUND -203
#define ERROR_FILE_ERROR -204
#define ERROR_NO_MEM -400
#define ERROR_SEMACOUNT_ZERO -400
// what should these be? Used in intrman.c
#define ERROR_ILLEGAL_INTRCODE ERROR_UNK
#define ERROR_CPUDI ERROR_UNK
#endif//__ERR_H__