mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-15 05:05:45 -04:00
CPU: Simplify GTE register addressing
This commit is contained in:
@ -14,14 +14,9 @@ public:
|
||||
void Reset();
|
||||
bool DoState(StateWrapper& sw);
|
||||
|
||||
u32 ReadRegister(u32 index) const { return m_regs.dr32[index]; }
|
||||
void WriteRegister(u32 index, u32 value) { m_regs.dr32[index] = value; }
|
||||
|
||||
u32 ReadDataRegister(u32 index) const;
|
||||
void WriteDataRegister(u32 index, u32 value);
|
||||
|
||||
u32 ReadControlRegister(u32 index) const;
|
||||
void WriteControlRegister(u32 index, u32 value);
|
||||
// control registers are offset by +32
|
||||
u32 ReadRegister(u32 index) const;
|
||||
void WriteRegister(u32 index, u32 value);
|
||||
|
||||
void ExecuteInstruction(Instruction inst);
|
||||
|
||||
|
Reference in New Issue
Block a user