all repos — mgba @ 46860b40e6b59f035073f885906da26954953ed8

mGBA Game Boy Advance Emulator

3DS: Fix build with ctrulib 1.7.0
Vicki Pfau vi@endrift.com
Sat, 09 May 2020 17:52:03 -0700
commit

46860b40e6b59f035073f885906da26954953ed8

parent

7fa93d1694a612f5bc0c13880fba188c5233ee69

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/3ds/ctru-heap.csrc/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 @@ aptInit();

hidInit(); fsInit(); - sdmcInit(); + archiveMountSdmc(); FSUSER_OpenArchive(&sdmcArchive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, "")); allocateRomBuffer();