From 3e97e4addf387addba6e661e801d7429c068b85d 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/libraries/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp b/libraries/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp index 4a36bb94e..5a34821c5 100644 --- a/libraries/libstratosphere/source/init/init_libnx_shim.os.horizon.cpp +++ b/libraries/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;