mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
29 lines
656 B
C
29 lines
656 B
C
|
#pragma once
|
||
|
|
||
|
#include "common.h"
|
||
|
#include "ff.h"
|
||
|
|
||
|
// init SD card filesystem - required for everything else
|
||
|
bool InitSDCardFS();
|
||
|
|
||
|
// init fill external fileystem
|
||
|
bool InitExtFS();
|
||
|
|
||
|
// mount and init image file system
|
||
|
bool InitImgFS(const char* path);
|
||
|
|
||
|
// deinitialize external filesystem
|
||
|
void DeinitExtFS();
|
||
|
|
||
|
// deinitialize SD card filesystem
|
||
|
void DeinitSDCardFS();
|
||
|
|
||
|
// dismount drives of a certain type
|
||
|
void DismountDriveType(u32 type);
|
||
|
|
||
|
// get number of mounted file system (only for FATFS filesystems)
|
||
|
int GetMountedFSNum(const char* path);
|
||
|
|
||
|
// get mounted file system object (only for FATFS filesystems)
|
||
|
FATFS* GetMountedFSObject(const char* path);
|