ctrtool: updated exheader code

improved exheader validity checks
This commit is contained in:
3DSGuy
2014-04-14 13:49:32 +08:00
parent 1c7a087651
commit c191574c51
2 changed files with 60 additions and 10 deletions
+4
View File
@@ -118,6 +118,9 @@ typedef struct
int validprogramid;
int validpriority;
int validaffinitymask;
int valididealprocessor;
int validsystemsaveID[2];
int validaccessinfo;
int validsignature;
} exheader_context;
@@ -134,6 +137,7 @@ void exheader_set_usersettings(exheader_context* ctx, settings* usersettings);
int exheader_get_compressedflag(exheader_context* ctx);
void exheader_read(exheader_context* ctx, u32 actions);
int exheader_process(exheader_context* ctx, u32 actions);
const char* exheader_getvalidstring(int valid);
void exheader_print(exheader_context* ctx);
void exheader_verify(exheader_context* ctx);
int exheader_programid_valid(exheader_context* ctx);