mirror of
https://github.com/libretro/ppsspp.git
synced 2024-12-04 23:16:41 +00:00
23 lines
565 B
C
23 lines
565 B
C
#include "../../Globals.h"
|
|
|
|
// mscmhc0 states
|
|
enum MemStickState {
|
|
PSP_MEMORYSTICK_STATE_DRIVER_READY = 1,
|
|
PSP_MEMORYSTICK_STATE_DRIVER_BUSY = 2,
|
|
PSP_MEMORYSTICK_STATE_DEVICE_INSERTED = 4,
|
|
PSP_MEMORYSTICK_STATE_DEVICE_REMOVED = 8,
|
|
};
|
|
|
|
// memstick FAT states.
|
|
enum MemStickFatState {
|
|
PSP_FAT_MEMORYSTICK_STATE_UNASSIGNED = 0,
|
|
PSP_FAT_MEMORYSTICK_STATE_ASSIGNED = 1,
|
|
};
|
|
|
|
MemStickState MemoryStick_State();
|
|
MemStickFatState MemoryStick_FatState();
|
|
|
|
void MemoryStick_SetFatState(MemStickFatState state);
|
|
|
|
u64 MemoryStick_SectorSize();
|
|
u64 MemoryStick_FreeSpace(); |