mirror of https://github.com/mgba-emu/mgba.git
3DS: Migrate to userAppInit
This commit is contained in:
parent
1756baae74
commit
4617c40ac4
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue