Merge pull request #1410 from lioncash/enum
EXI_Channel: Use an enum for read/write modes
This commit is contained in:
commit
64b09582c6
|
@ -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),
|
||||||
|
|
Loading…
Reference in New Issue