metaforce/Runtime/MP1/CGBASupport.cpp

27 lines
437 B
C++
Raw Normal View History

2016-12-14 22:56:59 +00:00
#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()
2016-12-14 22:56:59 +00:00
{
SharedInstance = nullptr;
2016-12-14 22:56:59 +00:00
}
}
}