From 98e6a95e8708e67db44bb6d5bd91ddb32af74e80 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Tue, 4 Jun 2024 15:14:32 -0500 Subject: [PATCH] FatFsUtil: Generate a non-partitioned image in our folder-to-sdcard conversion. --- Source/Core/Common/FatFsUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Common/FatFsUtil.cpp b/Source/Core/Common/FatFsUtil.cpp index 88d746e8ea..ffac0fc6c9 100644 --- a/Source/Core/Common/FatFsUtil.cpp +++ b/Source/Core/Common/FatFsUtil.cpp @@ -553,7 +553,7 @@ bool SyncSDFolderToSDImage(const std::function& cancelled, bool determin } MKFS_PARM options = {}; - options.fmt = FM_FAT32; + options.fmt = FM_FAT32 | FM_SFD; options.n_fat = 0; // Number of FATs: automatic options.align = 1; // Alignment of the data region (in sectors) options.n_root = 0; // Number of root directory entries: automatic (and unused for FAT32)