support file based/sd partition emusd configs

This commit is contained in:
Christoph Baumann
2025-05-20 20:38:41 +02:00
parent b543194688
commit 7584ec3060
5 changed files with 19 additions and 12 deletions

View File

@@ -501,6 +501,7 @@ namespace ams::sdmmc::impl {
if (!is_read) {
#ifdef ATMOSPHERE_IS_EXOSPHERE
/* Allow unaligned writes */
/* TODO: bad */
constexpr u32 MmcWriteSectorAlignment = 0;
#else
constexpr u32 MmcWriteSectorAlignment = 16_KB / SectorSize;