mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 05:32:47 +00:00
16 lines
440 B
C
16 lines
440 B
C
#pragma once
|
|
|
|
#include "common.h"
|
|
#include "filetype.h"
|
|
|
|
int ReadImageBytes(void* buffer, u64 offset, u64 count);
|
|
int WriteImageBytes(const void* buffer, u64 offset, u64 count);
|
|
int ReadImageSectors(void* buffer, u32 sector, u32 count);
|
|
int WriteImageSectors(const void* buffer, u32 sector, u32 count);
|
|
int SyncImage(void);
|
|
|
|
u64 GetMountSize(void);
|
|
u64 GetMountState(void);
|
|
const char* GetMountPath(void);
|
|
u64 MountImage(const char* path);
|