From f0997c6214b09ac81be0940b2f515ac2384e1a66 Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Sat, 9 May 2020 17:52:03 -0700 Subject: [PATCH] 3DS: Fix build with ctrulib 1.7.0 --- src/platform/3ds/ctru-heap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/3ds/ctru-heap.c b/src/platform/3ds/ctru-heap.c index 42608f8b9..56b7edd4e 100644 --- a/src/platform/3ds/ctru-heap.c +++ b/src/platform/3ds/ctru-heap.c @@ -19,10 +19,10 @@ * This notice may not be removed or altered from any source distribution. */ +#include <3ds/archive.h> #include <3ds/types.h> #include <3ds/srv.h> #include <3ds/gfx.h> -#include <3ds/sdmc.h> #include <3ds/services/apt.h> #include <3ds/services/fs.h> #include <3ds/services/hid.h> @@ -85,7 +85,7 @@ void __appInit(void) { hidInit(); fsInit(); - sdmcInit(); + archiveMountSdmc(); FSUSER_OpenArchive(&sdmcArchive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, "")); allocateRomBuffer();