support for file based and sd partition based emusd

This commit is contained in:
Christoph Baumann committed 2025-05-20 00:40:48 +02:00
1 parent 865b9dc1a4
commit 9b95d026f3
25 files changed
+1691 -294

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#ifndef _FILE_BASED_STORAGE_H
#define _FILE_BASED_STORAGE_H
#include <bdk.h>
int file_based_storage_init(const char *base_path);
void file_based_storage_end();
int file_based_storage_read(u32 sector, u32 num_sectors, void *buf);
int file_based_storage_write(u32 sector, u32 num_sectors, void *buf);
u32 file_based_storage_get_total_size();
#endif