diff options
Diffstat (limited to 'src/FATIO.h')
-rw-r--r-- | src/FATIO.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/FATIO.h b/src/FATIO.h index b3b63f3..6d8aa49 100644 --- a/src/FATIO.h +++ b/src/FATIO.h @@ -24,11 +24,13 @@ #include "fatfs/ff.h" // extra additions for interfacing with melonDS - +namespace melonDS +{ using ff_disk_read_cb = std::function<UINT(BYTE*, LBA_t, UINT)>; using ff_disk_write_cb = std::function<UINT(const BYTE*, LBA_t, UINT)>; void ff_disk_open(const ff_disk_read_cb& readcb, const ff_disk_write_cb& writecb, LBA_t seccnt); void ff_disk_close(); +} #endif // FATIO_H |