RetroArch
Macros
Memory card error codes

Macros

#define CARD_ERROR_UNLOCKED   1
 
#define CARD_ERROR_READY   0
 
#define CARD_ERROR_BUSY   -1
 
#define CARD_ERROR_WRONGDEVICE   -2
 
#define CARD_ERROR_NOCARD   -3
 
#define CARD_ERROR_NOFILE   -4
 
#define CARD_ERROR_IOERROR   -5
 
#define CARD_ERROR_BROKEN   -6
 
#define CARD_ERROR_EXIST   -7
 
#define CARD_ERROR_NOENT   -8
 
#define CARD_ERROR_INSSPACE   -9
 
#define CARD_ERROR_NOPERM   -10
 
#define CARD_ERROR_LIMIT   -11
 
#define CARD_ERROR_NAMETOOLONG   -12
 
#define CARD_ERROR_ENCODING   -13
 
#define CARD_ERROR_CANCELED   -14
 
#define CARD_ERROR_FATAL_ERROR   -128
 

Detailed Description

Macro Definition Documentation

◆ CARD_ERROR_BROKEN

#define CARD_ERROR_BROKEN   -6

directory structure or file entry broken

◆ CARD_ERROR_BUSY

#define CARD_ERROR_BUSY   -1

card is busy.

◆ CARD_ERROR_CANCELED

#define CARD_ERROR_CANCELED   -14

card operation canceled

◆ CARD_ERROR_ENCODING

#define CARD_ERROR_ENCODING   -13

font encoding PAL/SJIS mismatch

◆ CARD_ERROR_EXIST

#define CARD_ERROR_EXIST   -7

file allready exists with the specified parameters

◆ CARD_ERROR_FATAL_ERROR

#define CARD_ERROR_FATAL_ERROR   -128

fatal error, non recoverable

◆ CARD_ERROR_INSSPACE

#define CARD_ERROR_INSSPACE   -9

not enough space to write file to memory card

◆ CARD_ERROR_IOERROR

#define CARD_ERROR_IOERROR   -5

internal EXI I/O error

◆ CARD_ERROR_LIMIT

#define CARD_ERROR_LIMIT   -11

card size limit reached

◆ CARD_ERROR_NAMETOOLONG

#define CARD_ERROR_NAMETOOLONG   -12

filename too long

◆ CARD_ERROR_NOCARD

#define CARD_ERROR_NOCARD   -3

no memory card in slot

◆ CARD_ERROR_NOENT

#define CARD_ERROR_NOENT   -8

found no empty block to create the file

◆ CARD_ERROR_NOFILE

#define CARD_ERROR_NOFILE   -4

specified file not found

◆ CARD_ERROR_NOPERM

#define CARD_ERROR_NOPERM   -10

not enough permissions to operate on the file

◆ CARD_ERROR_READY

#define CARD_ERROR_READY   0

card is ready.

◆ CARD_ERROR_UNLOCKED

#define CARD_ERROR_UNLOCKED   1

card beeing unlocked or allready unlocked.

◆ CARD_ERROR_WRONGDEVICE

#define CARD_ERROR_WRONGDEVICE   -2

wrong device connected in slot