1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-10 14:11:43 +00:00

Fix BCT version parsing

This commit is contained in:
TuxSH 2018-05-17 01:54:19 +02:00
parent 9309b0bed5
commit 52d2af86b6

View file

@ -40,7 +40,7 @@ int package1_read_and_parse_boot0(void **package1loader, size_t *package1loader_
return -1; return -1;
} }
*revision = pk1l_info->attribute; *revision = pk1l_info->version;
*package1loader_size = pk1l_info->length; *package1loader_size = pk1l_info->length;
pk1l_offset = 0x4000 * pk1l_info->start_blk + 0x200 * pk1l_info->start_page; pk1l_offset = 0x4000 * pk1l_info->start_blk + 0x200 * pk1l_info->start_page;