7 changed files with 42 additions and 3 deletions
@ -0,0 +1,14 @@
|
||||
#include "platform/switch/romfs.hpp" |
||||
|
||||
#include <cstdlib> |
||||
|
||||
extern "C" { |
||||
#include <switch/runtime/devices/romfs_dev.h> |
||||
} |
||||
|
||||
void switch_romfs_init() |
||||
{ |
||||
Result res = romfsInit(); |
||||
if (R_SUCCEEDED(res)) |
||||
atexit([]() { romfsExit(); }); |
||||
} |
||||
Loading…
Reference in new issue