| 28 | const char* __romfs_path = "sdmc:/boot.3dsx"; |
| 29 | |
| 30 | int main() |
| 31 | { |
| 32 | Result rc; |
| 33 | |
| 34 | osSetSpeedupEnable(true); |
| 35 | rc = romfsInit(); |
| 36 | if (R_FAILED(rc)) |
| 37 | svcBreak(USERBREAK_PANIC); |
| 38 | |
| 39 | menuStartupPath(); |
| 40 | hidSetRepeatParameters(20, 10); |
| 41 | ptmuInit(); |
| 42 | uiInit(); |
| 43 | drawingInit(); |
| 44 | textInit(); |
| 45 | workerInit(); |
| 46 | launchInit(); |
| 47 | |
| 48 | backgroundInit(); |
| 49 | |
| 50 | workerSchedule(startup, NULL); |
| 51 | |
| 52 | // Main loop |
| 53 | while (aptMainLoop()) |
| 54 | { |
| 55 | if (!uiUpdate()) break; |
| 56 | drawingFrame(); |
| 57 | } |
| 58 | |
| 59 | netloaderExit(); |
| 60 | netsenderExit(); |
| 61 | launchExit(); |
| 62 | workerExit(); |
| 63 | textExit(); |
| 64 | drawingExit(); |
| 65 | romfsExit(); |
| 66 | ptmuExit(); |
| 67 | return 0; |
| 68 | } |
nothing calls this directly
no test coverage detected