diff options
Diffstat (limited to 'src/FATStorage.h')
-rw-r--r-- | src/FATStorage.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/FATStorage.h b/src/FATStorage.h index 6b9beb5..7edad13 100644 --- a/src/FATStorage.h +++ b/src/FATStorage.h @@ -55,10 +55,10 @@ private: static Platform::FileHandle* FF_File; static u64 FF_FileSize; static UINT FF_ReadStorage(BYTE* buf, LBA_t sector, UINT num); - static UINT FF_WriteStorage(BYTE* buf, LBA_t sector, UINT num); + static UINT FF_WriteStorage(const BYTE* buf, LBA_t sector, UINT num); static u32 ReadSectorsInternal(Platform::FileHandle* file, u64 filelen, u32 start, u32 num, u8* data); - static u32 WriteSectorsInternal(Platform::FileHandle* file, u64 filelen, u32 start, u32 num, u8* data); + static u32 WriteSectorsInternal(Platform::FileHandle* file, u64 filelen, u32 start, u32 num, const u8* data); void LoadIndex(); void SaveIndex(); |