mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-26 21:52:48 +00:00
Show icon.bin for mounted CIAs
This commit is contained in:
parent
729997078e
commit
f6f45f242e
@ -26,6 +26,7 @@
|
||||
#define NAME_CIA_TMD "tmd.bin"
|
||||
#define NAME_CIA_TMDCHUNK "tmdchunks.bin"
|
||||
#define NAME_CIA_META "meta.bin"
|
||||
#define NAME_CIA_ICON "icon.bin"
|
||||
#define NAME_CIA_CONTENT "%04X.%08lX%s" // index.id(.ext)
|
||||
|
||||
#define NAME_NCSD_HEADER "ncsd.bin"
|
||||
@ -315,6 +316,12 @@ bool BuildVGameCiaDir(void) {
|
||||
templates[n].keyslot = 0xFF;
|
||||
templates[n].flags = 0;
|
||||
n++;
|
||||
strncpy(templates[n].name, NAME_CIA_ICON, 32);
|
||||
templates[n].offset = info.offset_meta + 0x400;
|
||||
templates[n].size = info.size_meta - 0x400;
|
||||
templates[n].keyslot = 0xFF;
|
||||
templates[n].flags = 0;
|
||||
n++;
|
||||
}
|
||||
|
||||
// contents
|
||||
|
Loading…
x
Reference in New Issue
Block a user