2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-10 00:27:43 +00:00

Integrate JBus

This commit is contained in:
Jack Andersen
2017-01-07 16:52:49 -10:00
parent 37a523db7e
commit 8af76017c2
8 changed files with 89 additions and 104 deletions

View File

@@ -27,18 +27,21 @@ public:
private:
u32 x28_fileSize;
std::unique_ptr<u8[]> x2c_buffer;
std::shared_ptr<IDvdRequest> x30_dvdReq;
EPhase x34_phase = EPhase::LoadClientPad;
float x38_timeout = 0.f;
std::shared_ptr<IDvdRequest> x30_dvdReq;
u8 x3c_status = 0;
u32 x40_siChan = -1;
bool x44_fusionLinked = false;
bool x45_fusionBeat = false;
static CGBASupport* SharedInstance;
static u8 CalculateFusionJBusChecksum(const u8* data, size_t len);
public:
static void Initialize();
static void GlobalPoll();
CGBASupport();
~CGBASupport();
bool PollResponse();
void Update(float dt);
bool IsReady();