]> granicus.if.org Git - nethack/commitdiff
Windows portable_device support: skip the "illegal folder" check for now
authornhmall <nhmall@nethack.org>
Tue, 17 Dec 2019 20:32:10 +0000 (15:32 -0500)
committernhmall <nhmall@nethack.org>
Tue, 17 Dec 2019 20:32:10 +0000 (15:32 -0500)
sys/winnt/windmain.c

index 010c11eda4784a69b08770c8283196a6662f1220..29c12ffbca45eee0977bcd89ce27a55e92f7e4e5 100644 (file)
@@ -311,8 +311,10 @@ set_default_prefix_locations(const char *programPath)
 
     if (test_portable_config(executable_path, portable_device_top_path,
                                         sizeof portable_device_top_path)) {
+#if 0
         if (illegal_dir(portable_device_top_path, executable_path))
             windows_startup_state = 2;
+#endif
         fqn_prefix[SYSCONFPREFIX] = executable_path;
         fqn_prefix[CONFIGPREFIX]  = portable_device_top_path;
         fqn_prefix[HACKPREFIX]    = portable_device_top_path;