]> Chaos Git - corbenik/ctrulib.git/commitdiff
Fix FS init.
authorStapleButter <thetotalworm@gmail.com>
Thu, 11 Sep 2014 19:02:56 +0000 (21:02 +0200)
committerStapleButter <thetotalworm@gmail.com>
Thu, 11 Sep 2014 19:02:56 +0000 (21:02 +0200)
libctru/source/services/fs.c

index be5bbd0ba0a659cac580b42de36354b1baa83c2a..00a184b623b3a61f0bc36decc19cff462c6d959d 100644 (file)
@@ -68,7 +68,7 @@ FSUSER_Initialize(Handle* handle)
        {
                // don't run command if we got handle from the list
                handle = &fsuHandle;
-               if(fsuHandle != 0 && __get_handle_from_list("fs:USER")==0)
+               if(fsuHandle != 0 && __get_handle_from_list("fs:USER")!=0)
                        return 0;
        }