From 0a0bd74ca20c3d0a375a28530ea4a6ecf9c4419a Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Wed, 27 Oct 2021 22:57:09 -0700 Subject: [PATCH] init: disable fsdev cwd to prevent abort on fsdev usage (fsdev should not be used) --- libstratosphere/source/init/init_libnx_shim.os.horizon.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp b/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp index 4a36bb94..5a34821c 100644 --- a/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp +++ b/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp @@ -20,6 +20,8 @@ extern "C" { constinit u32 __nx_fs_num_sessions = 1; constinit u32 __nx_applet_type = AppletType_None; + constinit bool __nx_fsdev_support_cwd = false; + extern int __system_argc; extern char** __system_argv;