RetroArch
Classes | Macros | Functions | Variables
exec_cia.c File Reference
#include <string.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/stat.h>
#include <3ds.h>
Include dependency graph for exec_cia.c:

Classes

struct  ciaParam
 

Macros

#define FILE_CHUNK_SIZE   4096
 

Functions

static void errorAndQuit (const char *errorStr)
 
static int isCiaInstalled (u64 titleId, u16 version)
 
static int installCia (Handle ciaFile)
 
int exec_cia (const char *path, const char **args)
 

Variables

char argvHmac [0x20] = {0x1d, 0x78, 0xff, 0xb9, 0xc5, 0xbc, 0x78, 0xb7, 0xac, 0x29, 0x1d, 0x3e, 0x16, 0xd0, 0xcf, 0x53, 0xef, 0x12, 0x58, 0x83, 0xb6, 0x9e, 0x2f, 0x79, 0x47, 0xf9, 0x35, 0x61, 0xeb, 0x50, 0xd7, 0x67}
 

Macro Definition Documentation

◆ FILE_CHUNK_SIZE

#define FILE_CHUNK_SIZE   4096

Function Documentation

◆ errorAndQuit()

static void errorAndQuit ( const char *  errorStr)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ exec_cia()

int exec_cia ( const char *  path,
const char **  args 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ installCia()

static int installCia ( Handle  ciaFile)
static
Here is the caller graph for this function:

◆ isCiaInstalled()

static int isCiaInstalled ( u64  titleId,
u16  version 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ argvHmac

char argvHmac[0x20] = {0x1d, 0x78, 0xff, 0xb9, 0xc5, 0xbc, 0x78, 0xb7, 0xac, 0x29, 0x1d, 0x3e, 0x16, 0xd0, 0xcf, 0x53, 0xef, 0x12, 0x58, 0x83, 0xb6, 0x9e, 0x2f, 0x79, 0x47, 0xf9, 0x35, 0x61, 0xeb, 0x50, 0xd7, 0x67}