enums - last enum value should not have a comma

This commit is contained in:
twinaphex 2016-08-16 08:42:39 +02:00 committed by zeromus
parent a607264086
commit aab3a7d0a6
10 changed files with 86 additions and 86 deletions

View File

@ -98,7 +98,7 @@ enum DisplayCaptureSize
DisplayCaptureSize_128x128 = 0,
DisplayCaptureSize_256x64 = 1,
DisplayCaptureSize_256x128 = 2,
DisplayCaptureSize_256x192 = 3,
DisplayCaptureSize_256x192 = 3
};
union FragmentColor

View File

@ -52,7 +52,7 @@ enum EDMAMode
EDMAMode_GBASlot = 6,
EDMAMode_GXFifo = 7,
EDMAMode7_Wifi = 8,
EDMAMode7_GBASlot = 9,
EDMAMode7_GBASlot = 9
};
enum EDMABitWidth
@ -66,7 +66,7 @@ enum EDMASourceUpdate
EDMASourceUpdate_Increment = 0,
EDMASourceUpdate_Decrement = 1,
EDMASourceUpdate_Fixed = 2,
EDMASourceUpdate_Invalid = 3,
EDMASourceUpdate_Invalid = 3
};
enum EDMADestinationUpdate
@ -74,7 +74,7 @@ enum EDMADestinationUpdate
EDMADestinationUpdate_Increment = 0,
EDMADestinationUpdate_Decrement = 1,
EDMADestinationUpdate_Fixed = 2,
EDMADestinationUpdate_IncrementReload = 3,
EDMADestinationUpdate_IncrementReload = 3
};
//TODO

View File

@ -157,7 +157,7 @@ enum ENSATA_HANDSHAKE
ENSATA_HANDSHAKE_query = 1,
ENSATA_HANDSHAKE_ack = 2,
ENSATA_HANDSHAKE_confirm = 3,
ENSATA_HANDSHAKE_complete = 4,
ENSATA_HANDSHAKE_complete = 4
};
enum NDS_CONSOLE_TYPE
@ -598,7 +598,7 @@ extern struct TCommonSettings {
InternalNoise = 0,
Sample = 1,
Random = 2,
Physical = 3,
Physical = 3
} micMode;

View File

@ -47,7 +47,7 @@ public:
{
ESTEP_NOT_IMPLEMENTED = -1,
ESTEP_CALL_AGAIN = 0,
ESTEP_DONE = 1,
ESTEP_DONE = 1
};
virtual eStepMainLoopResult EMU_StepMainLoop(bool allowSleep, bool allowPause, int frameSkip, bool disableUser, bool disableCore) { return ESTEP_NOT_IMPLEMENTED; } // -1 frameSkip == useCurrentDefault
virtual void EMU_PauseEmulation(bool pause) {}

View File

@ -131,7 +131,7 @@ enum
POLYGON_ATTR_ENABLE_FOG_BIT = 15,
POLYGON_ATTR_ALPHA_BIT = 16, // Bits 16 - 20
// Bits 21 - 23 unused
POLYGON_ATTR_POLYGON_ID_BIT = 24, // Bits 24 - 29
POLYGON_ATTR_POLYGON_ID_BIT = 24 // Bits 24 - 29
// Bits 30 - 31 unused
};

View File

@ -31,7 +31,7 @@ enum MMU_ACCESS_TYPE
MMU_AT_DATA, //used for cpu read/write
MMU_AT_GPU, //used for gpu read/write
MMU_AT_DMA, //used for dma read/write (blocks access to TCM)
MMU_AT_DEBUG, //used for emulator debugging functions (bypasses some debug handling)
MMU_AT_DEBUG //used for emulator debugging functions (bypasses some debug handling)
};
static INLINE u8 T1ReadByte(u8* const mem, const u32 addr)

View File

@ -50,14 +50,14 @@ enum EMOVIEMODE
MOVIEMODE_INACTIVE = 0,
MOVIEMODE_RECORD = 1,
MOVIEMODE_PLAY = 2,
MOVIEMODE_FINISHED = 3,
MOVIEMODE_FINISHED = 3
};
enum EMOVIECMD
{
MOVIECMD_MIC = 1,
MOVIECMD_RESET = 2,
MOVIECMD_LID = 4,
MOVIECMD_LID = 4
};
//RLDUTSBAYXWEG

View File

@ -96,7 +96,7 @@ typedef ISlot1Interface* TISlot1InterfaceConstructor();
enum NDS_SLOT1_TYPE
{
NDS_SLOT1_NONE, // 0xFF - None
NDS_SLOT1_NONE = 0, // 0xFF - None
NDS_SLOT1_RETAIL_AUTO, // 0xFE - autodetect which kind of retail card to use
NDS_SLOT1_R4, // 0x03 - R4 flash card
NDS_SLOT1_RETAIL_NAND, // 0x02 - Made in Ore/WarioWare D.I.Y.

View File

@ -28,7 +28,7 @@
enum TexCache_TexFormat
{
TexFormat_None, //used when nothing yet is cached
TexFormat_None = 0, //used when nothing yet is cached
TexFormat_32bpp, //used by ogl renderer
TexFormat_15bpp //used by rasterizer
};