Cleanup enum indentations.

This commit is contained in:
Lioncash 2014-02-09 16:03:16 -05:00
parent e59f770ccb
commit 40182a48a5
65 changed files with 1031 additions and 1026 deletions

View File

@ -56,12 +56,12 @@ struct Symbol
enum
{
FFLAG_TIMERINSTRUCTIONS=(1<<0),
FFLAG_LEAF=(1<<1),
FFLAG_ONLYCALLSNICELEAFS=(1<<2),
FFLAG_EVIL=(1<<3),
FFLAG_RFI=(1<<4),
FFLAG_STRAIGHT=(1<<5)
FFLAG_TIMERINSTRUCTIONS = (1<<0),
FFLAG_LEAF = (1<<1),
FFLAG_ONLYCALLSNICELEAFS = (1<<2),
FFLAG_EVIL = (1<<3),
FFLAG_RFI = (1<<4),
FFLAG_STRAIGHT = (1<<5)
};

View File

@ -10,26 +10,26 @@
// File type
enum ElfType
{
ET_NONE =0,
ET_REL =1,
ET_EXEC =2,
ET_DYN =3,
ET_CORE =4,
ET_LOPROC =0xFF00,
ET_HIPROC =0xFFFF,
ET_NONE = 0,
ET_REL = 1,
ET_EXEC = 2,
ET_DYN = 3,
ET_CORE = 4,
ET_LOPROC = 0xFF00,
ET_HIPROC = 0xFFFF,
};
// Machine/Architecture
enum ElfMachine
{
EM_NONE =0,
EM_M32 =1,
EM_SPARC =2,
EM_386 =3,
EM_68K =4,
EM_88K =5,
EM_860 =7,
EM_MIPS =8
EM_NONE = 0,
EM_M32 = 1,
EM_SPARC = 2,
EM_386 = 3,
EM_68K = 4,
EM_88K = 5,
EM_860 = 7,
EM_MIPS = 8
};
// File version
@ -101,10 +101,10 @@ enum ElfMachine
// Section flags
enum ElfSectionFlags
{
SHF_WRITE =0x1,
SHF_ALLOC =0x2,
SHF_EXECINSTR =0x4,
SHF_MASKPROC =0xF0000000,
SHF_WRITE = 0x1,
SHF_ALLOC = 0x2,
SHF_EXECINSTR = 0x4,
SHF_MASKPROC = 0xF0000000,
};
// Symbol binding

View File

@ -164,7 +164,7 @@ enum SendStatus
DESC_CC1 = 0x02,
DESC_CC2 = 0x04,
DESC_CC3 = 0x08,
DESC_CRSLOST= 0x10,
DESC_CRSLOST = 0x10,
DESC_UF = 0x20,
DESC_OWC = 0x40,
DESC_OWN = 0x80

View File

@ -32,34 +32,34 @@ private:
enum
{
ISFS_OPEN_READ = 1,
ISFS_OPEN_WRITE,
ISFS_OPEN_WRITE = 2,
ISFS_OPEN_RW = (ISFS_OPEN_READ | ISFS_OPEN_WRITE)
};
enum
{
ISFS_FUNCNULL = 0,
ISFS_FUNCGETSTAT,
ISFS_FUNCREADDIR,
ISFS_FUNCGETATTR,
ISFS_FUNCGETUSAGE
ISFS_FUNCGETSTAT = 1,
ISFS_FUNCREADDIR = 2,
ISFS_FUNCGETATTR = 3,
ISFS_FUNCGETUSAGE = 4
};
enum
{
ISFS_IOCTL_FORMAT = 1,
ISFS_IOCTL_GETSTATS,
ISFS_IOCTL_CREATEDIR,
ISFS_IOCTL_READDIR,
ISFS_IOCTL_SETATTR,
ISFS_IOCTL_GETATTR,
ISFS_IOCTL_DELETE,
ISFS_IOCTL_RENAME,
ISFS_IOCTL_CREATEFILE,
ISFS_IOCTL_SETFILEVERCTRL,
ISFS_IOCTL_GETFILESTATS,
ISFS_IOCTL_GETUSAGE,
ISFS_IOCTL_SHUTDOWN
ISFS_IOCTL_GETSTATS = 2,
ISFS_IOCTL_CREATEDIR = 3,
ISFS_IOCTL_READDIR = 4,
ISFS_IOCTL_SETATTR = 5,
ISFS_IOCTL_GETATTR = 6,
ISFS_IOCTL_DELETE = 7,
ISFS_IOCTL_RENAME = 8,
ISFS_IOCTL_CREATEFILE = 9,
ISFS_IOCTL_SETFILEVERCTRL = 10,
ISFS_IOCTL_GETFILESTATS = 11,
ISFS_IOCTL_GETUSAGE = 12,
ISFS_IOCTL_SHUTDOWN = 13
};
u32 m_Mode;

View File

@ -54,10 +54,10 @@ struct netcfg_connection_t
enum status
{
LINK_BUSY = 1,
LINK_NONE,
LINK_WIRED,
LINK_WIFI_DOWN,
LINK_WIFI_UP
LINK_NONE = 2,
LINK_WIRED = 3,
LINK_WIFI_DOWN = 4,
LINK_WIFI_UP = 5
};
enum

View File

@ -81,7 +81,7 @@ private:
SEND_STATUS = 0x0D,
SET_BLOCKLEN = 0x10,
READ_MULTIPLE_BLOCK = 0x12,
WRITE_MULTIPLE_BLOCK= 0x19,
WRITE_MULTIPLE_BLOCK = 0x19,
APP_CMD_NEXT = 0x37,
ACMD_SETBUSWIDTH = 0x06,

View File

@ -21,8 +21,8 @@ private:
enum
{
MSG_KBD_CONNECT = 0,
MSG_KBD_DISCONNECT,
MSG_EVENT
MSG_KBD_DISCONNECT = 1,
MSG_EVENT = 2
};
#pragma pack(push, 1)
@ -58,7 +58,7 @@ private:
enum
{
KBD_LAYOUT_QWERTY = 0,
KBD_LAYOUT_AZERTY
KBD_LAYOUT_AZERTY = 1
};
int m_KeyboardLayout;
static u8 m_KeyCodesQWERTY[256];

View File

@ -69,8 +69,8 @@ typedef u32 FrameNum;
enum
{
CON_ERR_SERVER_FULL = 1,
CON_ERR_GAME_RUNNING,
CON_ERR_VERSION_MISMATCH
CON_ERR_GAME_RUNNING = 2,
CON_ERR_VERSION_MISMATCH = 3
};
namespace NetPlay {

View File

@ -60,7 +60,8 @@ enum
OPTYPE_UNKNOWN ,
};
enum {
enum
{
OPCD_HLEFUNCTION = 1,
OPCD_COMPILEDBLOCK = 2,
OPCD_BCx = 16,
@ -68,9 +69,11 @@ enum {
OPCD_Bx = 18,
};
enum {
enum
{
OP_BLR = 0x4e800020,
};
struct GekkoOPInfo
{
const char *opname;

View File

@ -60,7 +60,7 @@ public:
enum
{
TMD_VIEW_SIZE = 0x58,
TMD_HEADER_SIZE = 0x1e4,
TMD_HEADER_SIZE = 0x1E4,
CONTENT_HEADER_SIZE = 0x24,
TICKET_SIZE = 0x2A4
};

View File

@ -24,14 +24,16 @@
#define CONF_SAVETARGETS 8
#define CONF_SAVESHADERS 16
enum AspectMode {
enum AspectMode
{
ASPECT_AUTO = 0,
ASPECT_FORCE_16_9 = 1,
ASPECT_FORCE_4_3 = 2,
ASPECT_STRETCH = 3,
};
enum EFBScale {
enum EFBScale
{
SCALE_FORCE_INTEGRAL = -1,
SCALE_AUTO,
SCALE_AUTO_INTEGRAL,