mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
Add in more Apple Model numbers for RetroRating
Added in all current Apple Model numbers and set a base rating of 19. Will happily revise if someone can tell me how the ratings are calculated.
This commit is contained in:
parent
becfff597b
commit
b60fa081a1
@ -553,6 +553,51 @@ static int frontend_darwin_get_rating(void)
|
||||
if (strstr(model, "iPad5,3") || strstr(model, "iPad5,4"))
|
||||
return 18;
|
||||
|
||||
/* iPad Pro (12.9 Inch) */
|
||||
if (strstr(model, "iPad6,7") || strstr(model, "iPad6,8"))
|
||||
return 19;
|
||||
|
||||
/* iPad Pro (9.7 Inch) */
|
||||
if (strstr(model, "iPad6,3") || strstr(model, "iPad6,4"))
|
||||
return 19;
|
||||
|
||||
/* iPad 5th Generation */
|
||||
if (strstr(model, "iPad6,11") || strstr(model, "iPad6,12"))
|
||||
return 19;
|
||||
|
||||
/* iPad Pro (12.9 Inch 2nd Generation) */
|
||||
if (strstr(model, "iPad7,1") || strstr(model, "iPad7,2"))
|
||||
return 19;
|
||||
|
||||
/* iPad Pro (10.5 Inch) */
|
||||
if (strstr(model, "iPad7,3") || strstr(model, "iPad7,4"))
|
||||
return 19;
|
||||
|
||||
/* iPad Pro 6th Generation) */
|
||||
if (strstr(model, "iPad7,5") || strstr(model, "iPad7,6"))
|
||||
return 19;
|
||||
|
||||
/* iPad Pro (11 Inch) */
|
||||
if ( strstr(model, "iPad8,1")
|
||||
|| strstr(model, "iPad8,2")
|
||||
|| strstr(model, "iPad8,3")
|
||||
|| strstr(model, "iPad8,4")
|
||||
)
|
||||
return 19;
|
||||
|
||||
/* iPad Pro (12.9 3rd Generation) */
|
||||
if ( strstr(model, "iPad8,5")
|
||||
|| strstr(model, "iPad8,6")
|
||||
|| strstr(model, "iPad8,7")
|
||||
|| strstr(model, "iPad8,8")
|
||||
)
|
||||
return 19;
|
||||
|
||||
/* iPad Air 3rd Generation) */
|
||||
if ( strstr(model, "iPad11,3")
|
||||
|| strstr(model, "iPad11,4"))
|
||||
return 19;
|
||||
|
||||
/* TODO/FIXME -
|
||||
- more ratings for more systems
|
||||
- determine rating more intelligently*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user