mirror of
https://github.com/encounter/oot-gc.git
synced 2026-03-30 11:33:44 -07:00
22 lines
548 B
C
22 lines
548 B
C
#ifndef _FLASH_H
|
|
#define _FLASH_H
|
|
|
|
#include "dolphin.h"
|
|
#include "emulator/xlObject.h"
|
|
|
|
// __anon_0x7428F
|
|
typedef struct Flash {
|
|
/* 0x0 */ void* pHost;
|
|
/* 0x4 */ s32 flashCommand;
|
|
/* 0x8 */ char* flashBuffer;
|
|
/* 0xC */ s32 flashStatus;
|
|
} Flash; // size = 0x10
|
|
|
|
bool flashCopyFLASH(Flash* pFLASH, s32 nOffsetRAM, s32 nOffsetFLASH, s32 nSize);
|
|
bool flashTransferFLASH(Flash* pFLASH, s32 nOffsetRAM, s32 nOffsetFLASH, s32 nSize);
|
|
bool flashEvent(Flash* pFLASH, s32 nEvent, void* pArgument);
|
|
|
|
extern _XL_OBJECTTYPE gClassFlash;
|
|
|
|
#endif
|