]> Chaos Git - corbenik/ctrulib.git/commitdiff
Reset romFS_offset on romfsExit()
authorMichael Theall <pigman46@gmail.com>
Wed, 20 Apr 2016 22:37:34 +0000 (17:37 -0500)
committerMichael Theall <pigman46@gmail.com>
Wed, 20 Apr 2016 22:37:34 +0000 (17:37 -0500)
libctru/source/romfs_dev.c

index f80c775cfab2195efd37760b566fbfd3b8f5a84b..7006e713c1b01ea705472e7a5f64afe56891256d 100644 (file)
@@ -272,6 +272,7 @@ Result romfsExit(void)
        free(fileHashTable);
        free(dirTable);
        free(fileTable);
+       romFS_offset = 0;
 
        return 0;
 }