diff --git a/Makefile b/Makefile index c3c3c17..15b883b 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ dir_out := out ASFLAGS := -mcpu=arm946e-s CFLAGS := -Wall -Wextra -MMD -MP -marm $(ASFLAGS) -fno-builtin -fshort-wchar -std=c11 -Wno-main -O2 -flto -ffast-math LDFLAGS := -nostartfiles -FLAGS := name=$(name).dat dir_out=$(abspath $(dir_out)) ICON=$(abspath icon.png) APP_DESCRIPTION="Noob-friendly 3DS CFW." APP_AUTHOR="Reisyukaku/Aurora Wright" --no-print-directory +FLAGS := name=$(name).dat dir_out=$(abspath $(dir_out)) ICON=$(abspath icon.png) APP_DESCRIPTION="Noob-friendly 3DS CFW." APP_AUTHOR="Aurora Wright" --no-print-directory objects = $(patsubst $(dir_source)/%.s, $(dir_build)/%.o, \ $(patsubst $(dir_source)/%.c, $(dir_build)/%.o, \ diff --git a/icon.png b/icon.png index df686f8..33fcd7e 100644 Binary files a/icon.png and b/icon.png differ diff --git a/source/crypto.c b/source/crypto.c index b6a1980..9db30f3 100755 --- a/source/crypto.c +++ b/source/crypto.c @@ -384,7 +384,7 @@ void arm9Loader(u8 *arm9Section, u32 mode) //Set >=9.6 KeyXs if(mode) { - u8 keyData[] = {0xDD, 0xDA, 0xA4, 0xC6, 0x2C, 0xC4, 0x50, 0xE9, 0xDA, 0xB6, 0x9B, 0x0D, 0x9D, 0x2A, 0x21, 0x98}; + u8 keyData[0x10] = {0xDD, 0xDA, 0xA4, 0xC6, 0x2C, 0xC4, 0x50, 0xE9, 0xDA, 0xB6, 0x9B, 0x0D, 0x9D, 0x2A, 0x21, 0x98}; u8 decKey[0x10]; //Set keys 0x19..0x1F keyXs