mirror of
https://github.com/libretro/devilutionX.git
synced 2026-11-11 02:41:35 -10:00
14 lines
244 B
C++
14 lines
244 B
C++
#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(); });
|
|
} |