2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-05-17 04:31:22 +00:00
metaforce/Runtime/MP1/CGBASupport.cpp
2016-12-15 18:35:49 -10:00

32 lines
494 B
C++

#include "CGBASupport.hpp"
namespace urde
{
namespace MP1
{
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()
{
SharedInstance = nullptr;
}
bool CGBASupport::IsReady() const
{
return false;
}
}
}