I am getting an error when trying to compile, using the latest commit (
279153a). Here's the error from Make:
Code:
source/cia.c:84:8: error: too few arguments to function 'AM_FinishCiaInstall'
res = AM_FinishCiaInstall(handle);
^
In file included from /home/wayne/devkitPro/libctru/include/3ds.h:30:0,
from source/utils.h:19,
from source/lib.h:39,
from source/cia.c:19:
/home/wayne/devkitPro/libctru/include/3ds/services/am.h:81:8: note: declared here
Result AM_FinishCiaInstall(u8 mediatype, Handle *ciaHandle);
It looks like line 84 in cia.c the call to AM_FinishCiaInstall is missing the first arg.
Here's that section from cia.c:
Code:
res = AM_FinishCiaInstall(handle);
if (R_FAILED(res))
{
printf("Error finishing CIA install.\n");
}
Any suggestions?