Update IOGPU.c

This commit is contained in:
Nathan 2022-09-04 12:35:52 -04:00 committed by GitHub
parent 06e4075a26
commit 388a89c3a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -53,6 +53,7 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
uname(&u); uname(&u);
// iPhone 7 // iPhone 7
// iPod 7
// iPhone 11 // iPhone 11
// iPhone 12 // iPhone 12
// iPhone 13 // iPhone 13
@ -60,6 +61,7 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
// iPad Pro (10.5-inch, WiFi) // iPad Pro (10.5-inch, WiFi)
if ( if (
strstr(u.machine, "iPhone9,") strstr(u.machine, "iPhone9,")
|| strstr(u.machine, "iPod9,")
|| strstr(u.machine, "iPhone12,") || strstr(u.machine, "iPhone12,")
|| strstr(u.machine, "iPhone13,") || strstr(u.machine, "iPhone13,")
|| strstr(u.machine, "iPhone14,") || strstr(u.machine, "iPhone14,")