3DS: Migrate to userAppInit

This commit is contained in:
Vicki Pfau 2020-07-31 19:08:45 -07:00
parent 1756baae74
commit 4617c40ac4
1 changed files with 1 additions and 1 deletions

View File

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