big update

lots cleaned, added cia to cci conv, it
's called a block, separated reading from building, improved ncch keyx
stuff, and basic verbose for keys, elf checking and romfs
This commit is contained in:
applestash
2014-08-26 00:34:28 +10:00
parent c6e98ca578
commit 9c548197c1
66 changed files with 2970 additions and 2551 deletions
+2 -5
View File
@@ -11,17 +11,14 @@ void CheckEvent(ctr_yaml_context *ctx);
void BadYamlFormatting(void);
// Code
int GetYamlSettings(user_settings *set)
int GetRsfSettings(user_settings *set)
{
memset(&set->common.rsfSet,0,sizeof(rsf_settings));
int ret = 0;
if(set->common.rsfPath) {
FILE *rsf = fopen(set->common.rsfPath,"rb");
if(!rsf) {
if(!AssertFile(set->common.rsfPath)) {
fprintf(stderr,"[RSF ERROR] Failed to open %s\n",set->common.rsfPath);
return FAILED_TO_OPEN_FILE;
}
fclose(rsf);
ret = ParseSpecFile(&set->common.rsfSet,set->common.rsfPath, &set->dname);
}
return ret;