Play-/Source/iop/Iop_SifManPs2.h

35 lines
891 B
C
Raw Normal View History

2014-10-16 07:19:04 +00:00
#pragma once
#include "Iop_SifMan.h"
#include "../ee/SIF.h"
namespace Iop
{
class CSifManPs2 : public CSifMan
{
public:
2018-04-30 20:01:23 +00:00
CSifManPs2(CSIF&, uint8*, uint8*);
2018-07-11 16:29:43 +00:00
virtual ~CSifManPs2() = default;
2018-04-30 20:01:23 +00:00
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;
2018-04-30 20:01:23 +00:00
uint32 SifSetDma(uint32, uint32) override;
2018-04-30 20:01:23 +00:00
uint8* GetEeRam() const;
private:
2018-04-30 20:01:23 +00:00
CSIF& m_sif;
uint8* m_eeRam;
uint8* m_iopRam;
};
}