diff --git a/source/arm9/firm.c b/source/arm9/firm.c index 883c63c..0f07629 100644 --- a/source/arm9/firm.c +++ b/source/arm9/firm.c @@ -252,7 +252,8 @@ } } - // TODO: argc/v stuff + ((const char**)(ITCM_KERNEL_MIRROR + 0x7470))[0] = ((const char*)(ITCM_KERNEL_MIRROR + 0x7474)); + strncpy_s((void*)(ITCM_KERNEL_MIRROR + 0x7474), path, 256, 256); return 0; }