From 0e950c42740d654fbc1b5d508dcc6ab5fd56712d Mon Sep 17 00:00:00 2001 From: applestash Date: Sun, 21 Sep 2014 02:40:05 +1000 Subject: [PATCH] makerom: misc --- makerom/exheader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makerom/exheader.c b/makerom/exheader.c index 7db6f31..87d78f7 100644 --- a/makerom/exheader.c +++ b/makerom/exheader.c @@ -990,7 +990,7 @@ int SetARM11KernelDescOtherCapabilities(ARM11KernelCapabilityDescriptor *desc, r fprintf(stderr,"[EXHEADER ERROR] Invalid memory type: \"%s\"\n",rsf->AccessControlInfo.MemoryType); return EXHDR_BAD_RSF_OPT; } - otherCapabilities = (otherCapabilities & 0xfffff0ff) | (memType & 7) << 8; + otherCapabilities = (otherCapabilities & 0xfffff0ff) | (memType & 0xf) << 8; } if(otherCapabilities){