From 840ccfe643929e601ba75a4b39a0864df17e9fe8 Mon Sep 17 00:00:00 2001 From: d0k3 Date: Tue, 7 Nov 2017 01:13:13 +0100 Subject: [PATCH] Use 0xDA partition type instead of 0x1C for EmuNANDs fixes #253 --- source/filesys/fsutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/filesys/fsutil.c b/source/filesys/fsutil.c index a520999..d79aea7 100644 --- a/source/filesys/fsutil.c +++ b/source/filesys/fsutil.c @@ -32,7 +32,7 @@ bool FormatSDCard(u64 hidden_mb, u32 cluster_size, const char* label) { u8 ncsd[0x200] = { 0 }; u8 mbrdata[0x42] = { 0x80, 0x01, 0x01, 0x00, 0x0C, 0xFE, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, - 0x80, 0x01, 0x01, 0x00, 0x1C, 0xFE, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x80, 0x01, 0x01, 0x00, 0xDA, 0xFE, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA