mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-06-12 13:17:39 +02:00
Add DHTB header support
This commit is contained in:
@ -31,6 +31,8 @@ format_t check_fmt(const void *buf) {
|
||||
return MTK;
|
||||
} else if (memcmp(buf, DTB_MAGIC, 4) == 0) {
|
||||
return DTB;
|
||||
} else if (memcmp(buf, DHTB_MAGIC, 8) == 0) {
|
||||
return DHTB;
|
||||
} else {
|
||||
return UNKNOWN;
|
||||
}
|
||||
|
Reference in New Issue
Block a user