hrydgard / ppsspp

A PSP emulator for Android, Windows, Mac and Linux, written in C++. Want to contribute? Join us on Discord at https://discord.gg/5NJB6dD or just send pull requests / issues. For discussion use the forums at forums.ppsspp.org.
https://www.ppsspp.org
Other
10.77k stars 2.12k forks source link

iOS App Store version’s category should be changed to Games, to enable iOS 18 Game Mode support #19267

Closed schm1dtxbox closed 1 day ago

schm1dtxbox commented 2 weeks ago

What should happen

As the title suggests, iOS 18/iPadOS 18 brings over the Game Mode feature seen in macOS Sonoma to iPhones and iPads, and enabling it is likely the same as on macOS too, i.e. the application category type (LSApplicationCategoryType) should be set to something ending in ‘games’ for the feature to activate (e.g. http://public.app-category.games/). Currently PPSSPP appears to set this to ‘Developer Tools’ for the App Store build, hence Game Mode doesn’t currently kick in.

Who would this benefit

This would particularly benefit those using wireless headphones (e.g. AirPods) or game controllers with PPSSPP, as Game Mode doubles the Bluetooth sampling rate when active, which should reduce latency for the above devices. Game Mode in theory may also provide sustained performance and frame time consistency improvements by prioritising the current game over background processes and by applying more aggressive scheduling (as was observed with macOS’s flavour of Game Mode at least).

Platform (if relevant)

iOS

Games this would be useful in

All titles (as this is an app-wide request)

Other emulators or software with a similar feature

Any application on macOS/iOS with the app category set to something ending in games would be a good example of this, can be tested on the iOS 18 developer preview by launching said app and checking for a ‘Game Mode’ notification at the top of the screen.

Checklist

schm1dtxbox commented 1 day ago

1.17.3 is out on the App Store now with all relevant changes (and more it turns out, very nice that Apple finally supports explicitly declaring Game Mode support with GCSupportsGameMode!) so should be safe to close this issue now.

hrydgard commented 1 day ago

Thanks for closing :)