Skip to content

Commit

Permalink
Merge pull request #7 from thomleg50/master
Browse files Browse the repository at this point in the history
Make clear things
  • Loading branch information
Reisyukaku committed Jul 17, 2018
2 parents 22f30f1 + 78a2de6 commit 158eefd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion source/apps.c
Expand Up @@ -25,6 +25,8 @@ Result deleteRedunAppRec() {
Result pushAppRec() {
Result ret = 0;
AppRecord *apprec = calloc(1, sizeof(AppRecord));

/* The TitleID is CaveStory+ */
apprec->tid = 0x0100B7D0022EE000;
apprec->type = 3;
apprec->unk1 = 2;
Expand Down Expand Up @@ -52,6 +54,7 @@ Result listAppRec() {
Result removeAppRec() {
Result ret = 0;
u32 cnt=0;
/* The TitleID is CaveStory+ */
u64 tid = 0x0100B7D0022EE000;

printf("Deleting record for hardcoded tid: %" PRIx64 "\n", tid);
Expand All @@ -78,4 +81,4 @@ Result listApps() {
printHex(&contmeta, 0x24);
free(contmeta);
return ret;
}
}
3 changes: 2 additions & 1 deletion source/install.c
Expand Up @@ -4,6 +4,7 @@

Result installShop() {
Result ret = 0;
/* The TitleID is CaveStory+ */
u64 tid = 0x0100B7D0022EE000;

printf("Installing hardcoded tid: %" PRIx64 "\n", tid);
Expand All @@ -16,4 +17,4 @@ Result installShop() {
Result installNsp() {
//TODO
return 0;
}
}

0 comments on commit 158eefd

Please sign in to comment.