mirror of
https://github.com/wiiu-env/MochaPayload.git
synced 2024-11-25 09:16:53 +01:00
ios_exploit: Fix checking the size of ios_fs
This commit is contained in:
parent
b7428c9157
commit
6cf8c3b391
@ -327,8 +327,7 @@ static void uhs_exploit_init(int dev_uhs_0_handle) {
|
||||
payloads->size = sizeof(ios_mcp);
|
||||
memcpy(payloads->data, ios_mcp, payloads->size);
|
||||
|
||||
|
||||
static_assert(sizeof(ios_mcp) < 0xF4180000 - 0xF4170000, "IOS_FS is too big");
|
||||
static_assert(sizeof(ios_fs) < 0xF417FEF0 - 0xF4170000, "IOS_FS is too big");
|
||||
payloads = (payload_info_t *) 0xF4170000;
|
||||
payloads->size = sizeof(ios_fs);
|
||||
memcpy(payloads->data, ios_fs, payloads->size);
|
||||
|
Loading…
Reference in New Issue
Block a user