project64/Source/Project64-rsp-core/cpu/RSPRegisterHandlerPlugin.h

19 lines
407 B
C++

#pragma once
#include "RSPRegisterHandler.h"
class RSPRegisterHandlerPlugin :
public RSPRegisterHandler
{
public:
RSPRegisterHandlerPlugin(_RSP_INFO & RSPInfo, const uint32_t & RdramSize);
uint32_t & PendingSPMemAddr();
uint32_t & PendingSPDramAddr();
private:
void ClearSPInterrupt(void);
void SetSPInterrupt(void);
void SetHalt(void);
void DmaReadDone(uint32_t End);
};