Merge pull request #1410 from lioncash/enum

EXI_Channel: Use an enum for read/write modes
This commit is contained in:
skidau 2014-10-28 13:00:42 +11:00
commit 64b09582c6
1 changed files with 6 additions and 3 deletions

View File

@ -12,9 +12,12 @@
#include "Core/HW/ProcessorInterface.h" #include "Core/HW/ProcessorInterface.h"
#include "Core/PowerPC/PowerPC.h" #include "Core/PowerPC/PowerPC.h"
#define EXI_READ 0 enum
#define EXI_WRITE 1 {
#define EXI_READWRITE 2 EXI_READ,
EXI_WRITE,
EXI_READWRITE
};
CEXIChannel::CEXIChannel(u32 ChannelId) : CEXIChannel::CEXIChannel(u32 ChannelId) :
m_DMAMemoryAddress(0), m_DMAMemoryAddress(0),