all repos — mgba @ 4617c40ac4647d2c9526e39bb6ff9b7d12fac1e0

mGBA Game Boy Advance Emulator

3DS: Migrate to userAppInit
Vicki Pfau vi@endrift.com
Fri, 31 Jul 2020 19:08:45 -0700
commit

4617c40ac4647d2c9526e39bb6ff9b7d12fac1e0

parent

1756baae74630583173793a3128c39b6473a6ec9

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

jump to
M src/platform/3ds/ctru-heap.csrc/platform/3ds/ctru-heap.c

@@ -15,7 +15,7 @@ size_t romBufferSize;

FS_Archive sdmcArchive; -__attribute__((constructor)) static void init(void) { +void userAppInit(void) { FSUSER_OpenArchive(&sdmcArchive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, "")); romBuffer = malloc(0x02000000);