Start adding SD card support

This commit is contained in:
wheremyfoodat 2023-08-20 13:22:48 +03:00
parent 3292b051be
commit 7ada8da8a8
6 changed files with 62 additions and 20 deletions

View file

@ -8,7 +8,7 @@ class SDMCArchive : public ArchiveBase {
public:
SDMCArchive(Memory& mem) : ArchiveBase(mem) {}
u64 getFreeBytes() override { Helpers::panic("SDMC::GetFreeBytes unimplemented"); return 0; }
u64 getFreeBytes() override { return 1_GB; }
std::string name() override { return "SDMC"; }
HorizonResult createFile(const FSPath& path, u64 size) override;