Merge branch 'main' into exp-value-picker

This commit is contained in:
opa334 2022-09-03 12:19:30 +02:00
commit 8118749d7c
1 changed files with 4 additions and 0 deletions

View File

@ -59,21 +59,25 @@ int IOGPU_get_command_queue_extra_refills_needed(void)
// iPhone 12
// iPhone 13
// iPad Pro M1(?)
// iPad Pro (10.5-inch, WiFi)
if (
strstr(u.machine, "iPhone9,")
|| strstr(u.machine, "iPhone12,")
|| strstr(u.machine, "iPhone13,")
|| strstr(u.machine, "iPhone14,")
|| strstr(u.machine, "iPad13,")
|| strstr(u.machine, "iPad7,")
)
{
return 1;
}
// iPhone 8, X
// iPhone XS, XR
// iPad Pro A12Z
else if (
strstr(u.machine, "iPhone10,")
|| strstr(u.machine, "iPhone11,")
|| strstr(u.machine, "iPad8,")
)
{
return 3;