add basic support for gamecard installing

This commit is contained in:
ITotalJustice
2025-04-21 13:30:46 +01:00
parent 60e915c255
commit 9800bbecdf
5 changed files with 237 additions and 0 deletions

View File

@@ -454,4 +454,10 @@ struct FsNativeContentStorage final : FsNative {
}
};
struct FsNativeGameCard final : FsNative {
FsNativeGameCard(const FsGameCardHandle* handle, FsGameCardPartition partition, bool ignore_read_only = true) : FsNative{ignore_read_only} {
m_open_result = fsOpenGameCardFileSystem(&m_fs, handle, partition);
}
};
} // namespace fs