Merge pull request #20 from lunjielee/main

Support for A10X iPad Pro
This commit is contained in:
Lars Fröder 2022-09-03 12:17:17 +02:00 committed by GitHub
commit 15b8fbd6f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -57,12 +57,14 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
// iPhone 12 // iPhone 12
// iPhone 13 // iPhone 13
// iPad Pro M1(?) // iPad Pro M1(?)
// iPad Pro (10.5-inch, WiFi)
if ( if (
strstr(u.machine, "iPhone9,") strstr(u.machine, "iPhone9,")
|| strstr(u.machine, "iPhone12,") || strstr(u.machine, "iPhone12,")
|| strstr(u.machine, "iPhone13,") || strstr(u.machine, "iPhone13,")
|| strstr(u.machine, "iPhone14,") || strstr(u.machine, "iPhone14,")
|| strstr(u.machine, "iPad13,") || strstr(u.machine, "iPad13,")
|| strstr(u.machine, "iPad7,")
) )
{ {
return 1; return 1;