mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
18 lines
387 B
C
18 lines
387 B
C
#pragma once
|
|
|
|
#include "common.h"
|
|
|
|
#define IMG_FAT 1
|
|
#define IMG_NAND 2
|
|
#define IMG_RAMDRV 3
|
|
|
|
int ReadImageSectors(u8* buffer, u32 sector, u32 count);
|
|
int WriteImageSectors(const u8* buffer, u32 sector, u32 count);
|
|
int SyncImage(void);
|
|
|
|
u64 GetMountSize(void);
|
|
u32 GetMountState(void);
|
|
u32 IdentifyImage(const char* path);
|
|
u32 MountRamDrive(void);
|
|
u32 MountImage(const char* path);
|