Replaced CPFifo by SCPFifoStruct: both were identical and there is no point in having two definitions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@421 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6638ed20a6
commit
cad45aea72
|
@ -103,7 +103,7 @@ int m_bboxright;
|
|||
int m_bboxbottom;
|
||||
u16 m_tokenReg;
|
||||
|
||||
CPFifo fifo; //This one is shared between gfx thread and emulator thread
|
||||
SCPFifoStruct fifo; //This one is shared between gfx thread and emulator thread
|
||||
|
||||
void DoState(PointerWrap &p)
|
||||
{
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#define _COMMANDPROCESSOR_H
|
||||
|
||||
#include "Common.h"
|
||||
#include "pluginspecs_video.h"
|
||||
class PointerWrap;
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -56,29 +57,9 @@ enum
|
|||
FIFO_BP_LO = 0x3C,
|
||||
FIFO_BP_HI = 0x3E
|
||||
};
|
||||
struct CPFifo
|
||||
{
|
||||
// fifo registers
|
||||
volatile u32 CPBase;
|
||||
volatile u32 CPEnd;
|
||||
u32 CPHiWatermark;
|
||||
u32 CPLoWatermark;
|
||||
volatile s32 CPReadWriteDistance;
|
||||
volatile u32 CPWritePointer;
|
||||
volatile u32 CPReadPointer;
|
||||
volatile u32 CPBreakpoint;
|
||||
|
||||
volatile bool bFF_GPReadEnable;
|
||||
volatile bool bFF_BPEnable;
|
||||
volatile bool bFF_GPLinkEnable;
|
||||
volatile bool bFF_Breakpoint;
|
||||
volatile bool bPauseRead;
|
||||
#ifdef _WIN32
|
||||
CRITICAL_SECTION sync;
|
||||
#endif
|
||||
};
|
||||
extern SCPFifoStruct fifo;
|
||||
|
||||
extern CPFifo fifo;
|
||||
// Init
|
||||
void Init();
|
||||
void Shutdown();
|
||||
|
|
|
@ -27,7 +27,7 @@ typedef struct
|
|||
volatile DWORD CPEnd;
|
||||
DWORD CPHiWatermark;
|
||||
DWORD CPLoWatermark;
|
||||
volatile INT CPReadWriteDistance;
|
||||
volatile s32 CPReadWriteDistance;
|
||||
volatile DWORD CPWritePointer;
|
||||
volatile DWORD CPReadPointer;
|
||||
volatile DWORD CPBreakpoint;
|
||||
|
|
Loading…
Reference in New Issue