Play-/Source/iop/Iop_SifManPs2.h
Jean-Philip Desjardins db0011cf0c Cleanup.
2018-08-03 12:48:40 -04:00

35 lines
891 B
C++

#pragma once
#include "Iop_SifMan.h"
#include "../ee/SIF.h"
namespace Iop
{
class CSifManPs2 : public CSifMan
{
public:
CSifManPs2(CSIF&, uint8*, uint8*);
virtual ~CSifManPs2() = default;
void RegisterModule(uint32, CSifModule*) override;
bool IsModuleRegistered(uint32) override;
void UnregisterModule(uint32) override;
void SendPacket(void*, uint32) override;
void SetDmaBuffer(uint32, uint32) override;
void SetCmdBuffer(uint32, uint32) override;
void SendCallReply(uint32, const void*) override;
void GetOtherData(uint32, uint32, uint32) override;
void SetModuleResetHandler(const ModuleResetHandler&) override;
void SetCustomCommandHandler(const CustomCommandHandler&) override;
uint32 SifSetDma(uint32, uint32) override;
uint8* GetEeRam() const;
private:
CSIF& m_sif;
uint8* m_eeRam;
uint8* m_iopRam;
};
}