2016-12-14 22:56:59 +00:00
|
|
|
#include "CGBASupport.hpp"
|
|
|
|
|
|
|
|
namespace urde
|
|
|
|
{
|
|
|
|
namespace MP1
|
|
|
|
{
|
|
|
|
|
2016-12-15 22:37:34 +00:00
|
|
|
CGBASupport* CGBASupport::SharedInstance = nullptr;
|
|
|
|
|
|
|
|
CGBASupport::CGBASupport()
|
|
|
|
: CDvdFile("client_pad.bin")
|
|
|
|
{
|
|
|
|
x28_fileSize = ROUND_UP_32(Length());
|
|
|
|
x2c_buffer.reset(new u8[x28_fileSize]);
|
|
|
|
x30_dvdReq = AsyncRead(x2c_buffer.get(), x28_fileSize);
|
|
|
|
//InitDSPComm();
|
|
|
|
SharedInstance = this;
|
|
|
|
}
|
|
|
|
|
|
|
|
CGBASupport::~CGBASupport()
|
2016-12-14 22:56:59 +00:00
|
|
|
{
|
2016-12-15 22:37:34 +00:00
|
|
|
SharedInstance = nullptr;
|
2016-12-14 22:56:59 +00:00
|
|
|
}
|
|
|
|
|
2016-12-16 04:35:49 +00:00
|
|
|
bool CGBASupport::IsReady() const
|
|
|
|
{
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2016-12-14 22:56:59 +00:00
|
|
|
}
|
|
|
|
}
|