MemoryCard: Formatting
This commit is contained in:
@ -22,6 +22,8 @@ public:
|
||||
void ResetTransferState() override;
|
||||
bool Transfer(const u8 data_in, u8* data_out) override;
|
||||
|
||||
void Format();
|
||||
|
||||
private:
|
||||
union FLAG
|
||||
{
|
||||
@ -60,6 +62,10 @@ private:
|
||||
WriteEnd,
|
||||
};
|
||||
|
||||
static u8 ChecksumFrame(const u8* fptr);
|
||||
|
||||
u8* GetSectorPtr(u32 sector);
|
||||
|
||||
State m_state = State::Idle;
|
||||
u16 m_address = 0;
|
||||
u8 m_sector_offset = 0;
|
||||
|
||||
Reference in New Issue
Block a user