Sorry for another release so soon
Since your update i've trouble compiling it myself, my libctru is up to date but i get this error:
build/source/ui/section/dumpnand.o
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:24:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:91: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_dst':
source/ui/section/dumpnand.c:40:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:86: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:41:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:25:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
make: *** [build/source/ui/section/dumpnand.o] Error 1
rm build/source/core/default.shbin.c
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:24:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:91: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:24:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_NAND_W_FS, fsMakePath(PATH_E
MPTY, ""), fsMakePath(PATH_UTF16, u"/"), FS_OPEN_READ, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_dst':
source/ui/section/dumpnand.c:40:44: error: incompatible type for argument 2 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'FS_Archive
{aka struct <anonymous>}' but argument is of type 'int'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:86: error: incompatible type for argument 4 of '
FSUSER_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: expected 'u32 {aka l
ong unsigned int}' but argument is of type 'FS_Path {aka struct <anonymous>}'
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:40:12: error: too many arguments to function 'FSUSE
R_OpenFileDirectly'
return FSUSER_OpenFileDirectly(handle, ARCHIVE_SDMC, fsMakePath(PATH_EMPTY,
""), fsMakePath(PATH_UTF16, u"/NAND.bin"), FS_OPEN_WRITE | FS_OPEN_CREATE, 0);
^
In file included from c:/devkitPro/libctru/include/3ds/services/am.h:7:0,
from c:/devkitPro/libctru/include/3ds.h:30,
from source/ui/section/dumpnand.c:4:
c:/devkitPro/libctru/include/3ds/services/fs.h:309:8: note: declared here
Result FSUSER_OpenFileDirectly(Handle* out, FS_Archive archive, FS_Path path, u
32 openFlags, u32 attributes);
^
source/ui/section/dumpnand.c:41:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
source/ui/section/dumpnand.c: In function 'dumpnand_open_src':
source/ui/section/dumpnand.c:25:1: warning: control reaches end of non-void func
tion [-Wreturn-type]
}
^
make: *** [build/source/ui/section/dumpnand.o] Error 1
rm build/source/core/default.shbin.c
Any idea how to fix it?
Last edited by liomajor,