vitasdk
Documentation of the vitasdk
msif.h File Reference

Go to the source code of this file.

Macros

#define SCE_MSIF_SECTOR_SIZE   (0x200)
 

Enumerations

enum  SceMsifErrorCode { SCE_MSIF_ERROR_INTERNAL = 0x803D0000 , SCE_MSIF_ERROR_INVALID_ARGUMENT = 0x803D0001 , SCE_MSIF_ERROR_UNALIGNED_BUFFER = 0x803D0002 , SCE_MSIF_ERROR_WRITE_PROTECTED = 0x803D0003 }
 MSIF errors returned directly by the FW 3.60 sector APIs. More...
 

Functions

int ksceMsifGetMsInfo (SceMsInfo *info)
 
 VITASDK_BUILD_ASSERT_EQ (4, SceMsifErrorCode)
 
int ksceMsifDisableSlowCardMode (void)
 Disable slow-card mode.
 
int ksceMsifEnableSlowCardMode (void)
 Enable slow-card mode.
 
SceBool ksceMsifGetSlowCardModeState (void)
 Check whether slow-card mode is enabled.
 
int ksceMsifReadSector (SceUInt32 sector, void *buffer, SceUInt32 sector_count)
 Read sectors from the Memory Stick medium.
 
int ksceMsifWriteSector (SceUInt32 sector, const void *buffer, SceUInt32 sector_count)
 Write sectors to the Memory Stick medium.