many small changes

added function to fill memory with random bytes (cleaning some code with
that). Removed public build #ifdefs since 3dsguy apparently uploaded the
entire source with all "private" things.
This commit is contained in:
applestash
2014-06-28 18:38:52 +10:00
parent df5c7f500c
commit 65038633e4
12 changed files with 39 additions and 70 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ int build_NCCH(user_settings *usrset)
int result;
// Init Settings\n");
ncch_settings *ncchset = malloc(sizeof(ncch_settings));
ncch_settings *ncchset = calloc(1,sizeof(ncch_settings));
if(!ncchset) {
fprintf(stderr,"[NCCH ERROR] Not enough memory\n");
return MEM_ERROR;