mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Since we have been employing the FIFO BP hack for so long time, at least let's make it a decent hack.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4699 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
|
||||
#include "Common.h"
|
||||
#include "pluginspecs_video.h"
|
||||
|
||||
class PointerWrap;
|
||||
|
||||
extern bool MT;
|
||||
@ -65,6 +66,15 @@ enum
|
||||
CP_PERF2_H = 0x4a,
|
||||
CP_PERF3_L = 0x4c,
|
||||
CP_PERF3_H = 0x4e,
|
||||
VCACHE_METRIC_CHECK_LO = 0x50,
|
||||
VCACHE_METRIC_CHECK_HI = 0x52,
|
||||
VCACHE_METRIC_MISS_LO = 0x54,
|
||||
VCACHE_METRIC_MISS_HI = 0x56,
|
||||
VCACHE_METRIC_STALL_LO = 0x58,
|
||||
VCACHE_METRIC_STALL_HI = 0x5A,
|
||||
CLKS_PER_VTX_IN0 = 0x60,
|
||||
CLKS_PER_VTX_IN1 = 0x62,
|
||||
CLKS_PER_VTX_OUT = 0x64,
|
||||
};
|
||||
|
||||
enum
|
||||
@ -108,7 +118,7 @@ union UCPCtrlReg
|
||||
UCPCtrlReg(u16 _hex) {Hex = _hex; }
|
||||
};
|
||||
|
||||
// Fifo Control Register
|
||||
// Fifo Clear Register
|
||||
union UCPClearReg
|
||||
{
|
||||
struct
|
||||
@ -148,6 +158,9 @@ bool AllowIdleSkipping();
|
||||
void IncrementGPWDToken();
|
||||
void WaitForFrameFinish();
|
||||
|
||||
void FifoCriticalEnter();
|
||||
void FifoCriticalLeave();
|
||||
|
||||
} // namespace CommandProcessor
|
||||
|
||||
#endif // _COMMANDPROCESSOR_H
|
||||
|
Reference in New Issue
Block a user