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
TuxSH 2d6debddb9 Merge branch 'master' into developer
Conflicts:
	source/firm.h
	source/fs.h
	source/patches.h
2016-07-02 17:44:08 +02:00

17 lines
383 B
C

/*
* fs.h
*/
#pragma once
#include "types.h"
#define PATTERN(a) a "_*.bin"
bool 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);
void firmRead(void *dest, const char *firmFolder);