2022-10-09 05:13:17 +00:00
|
|
|
#ifndef _CMEMORYCARDSYS
|
|
|
|
#define _CMEMORYCARDSYS
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
2022-10-10 19:58:03 +00:00
|
|
|
// TODO: likely comes from dolphin sdk
|
|
|
|
enum ECardSlot { kCS_SlotA, kCS_SlotB };
|
|
|
|
enum ECardResult { k_READY };
|
|
|
|
struct FileHandle {};
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
class CMemoryCardSys {
|
|
|
|
public:
|
2022-10-10 19:58:03 +00:00
|
|
|
struct CardFileHandle {
|
|
|
|
ECardSlot slot;
|
|
|
|
FileHandle handle;
|
|
|
|
CardFileHandle(ECardSlot slot) : slot(slot) {}
|
|
|
|
int getFileNo() const;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct CCardFileInfo {};
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
CMemoryCardSys();
|
2022-04-10 00:17:06 +00:00
|
|
|
~CMemoryCardSys();
|
|
|
|
|
2022-09-13 04:26:54 +00:00
|
|
|
void Initialize();
|
|
|
|
|
2022-04-10 00:17:06 +00:00
|
|
|
private:
|
|
|
|
// TODO
|
|
|
|
};
|
|
|
|
|
2022-10-09 05:13:17 +00:00
|
|
|
#endif // _CMEMORYCARDSYS
|