38995d3231
O3DS and N3DS now share the same emuNAND patch, shorter patching patterns, patched_firmware does not keep garbage from larger loaded FIRMs, flags can be empty files
19 lines
360 B
C
19 lines
360 B
C
/*
|
|
* fs.h
|
|
*/
|
|
|
|
#ifndef __fs_h__
|
|
#define __fs_h__
|
|
|
|
#include "types.h"
|
|
|
|
int mountSD();
|
|
int unmountSD();
|
|
int fileReadOffset(u8 *dest, const char *path, u32 size, u32 offset);
|
|
int fileRead(u8 *dest, const char *path, u32 size);
|
|
int fileWrite(const u8 *buffer, const char *path, u32 size);
|
|
int fileSize(const char* path);
|
|
int fileExists(const char* path);
|
|
|
|
#endif
|