2008-12-08 03:43:30 +00:00
|
|
|
#include "Iop_SifDynamic.h"
|
|
|
|
#include "Iop_SifCmd.h"
|
|
|
|
|
|
|
|
using namespace Iop;
|
|
|
|
|
2016-05-08 20:53:41 -04:00
|
|
|
CSifDynamic::CSifDynamic(CSifCmd& sifCmd, uint32 serverDataAddress)
|
2018-04-30 21:01:23 +01:00
|
|
|
: m_sifCmd(sifCmd)
|
|
|
|
, m_serverDataAddress(serverDataAddress)
|
2008-12-08 03:43:30 +00:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool CSifDynamic::Invoke(uint32 method, uint32* args, uint32 argsSize, uint32* ret, uint32 retSize, uint8* ram)
|
|
|
|
{
|
2012-03-30 02:57:58 +00:00
|
|
|
m_sifCmd.ProcessInvocation(m_serverDataAddress, method, args, argsSize);
|
|
|
|
return false;
|
2008-12-08 03:43:30 +00:00
|
|
|
}
|
2009-02-04 02:15:56 +00:00
|
|
|
|
|
|
|
uint32 CSifDynamic::GetServerDataAddress() const
|
|
|
|
{
|
2012-03-30 02:57:58 +00:00
|
|
|
return m_serverDataAddress;
|
2009-02-04 02:15:56 +00:00
|
|
|
}
|