This repository has been archived on 2022-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
Luma3DS-3GX/source/fs.h

17 lines
382 B
C
Raw Normal View History

2015-08-05 03:57:37 +02:00
/*
* fs.h
*/
#pragma once
2015-08-05 03:57:37 +02:00
#include "types.h"
#define PATTERN(a) a "_*.bin"
u32 mountFs(void);
u32 getFileSize(const char *path);
u32 fileRead(void *dest, const char *path);
void fileWrite(const void *buffer, const char *path, u32 size);
void findDumpFile(const char *path, char *fileName);
void loadPayload(u32 pressed);
2016-04-11 14:32:38 +02:00
void firmRead(void *dest, const char *firmFolder);