EXI_Channel: Use an enum for read/write modes
This commit is contained in:
parent
1630b0c684
commit
88ec3b7725
|
@ -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