diff --git a/src/platform/test/perf-main.c b/src/platform/test/perf-main.c index ea3d3a861..d4e9ad971 100644 --- a/src/platform/test/perf-main.c +++ b/src/platform/test/perf-main.c @@ -69,12 +69,7 @@ int main(int argc, char** argv) { if (!allocateRomBuffer()) { return 1; } - sdmcArchive = (FS_Archive) { - ARCHIVE_SDMC, - (FS_Path) { PATH_EMPTY, 1, "" }, - 0 - }; - FSUSER_OpenArchive(&sdmcArchive); + FSUSER_OpenArchive(&sdmcArchive, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY, "")); #else signal(SIGINT, _mPerfShutdown); #endif