SDL/src/filesystem
Sam Lantinga e954e32b0e Fixed bug 4726 - Fix for tvOS GetPrefPath
Caleb Cornett

Unlike iOS and macOS, tvOS does not have any persistent local storage. In fact, the ApplicationSupport directory pointed to by the existing Cocoa GetPrefPath() throws an error whenever any attempt is made to access it. To get any local storage on an Apple TV, our only option is to use a temporary cache directory.

This patch changes the tvOS PrefPath to this cache directory and also logs a critical warning that this if developers want their save data to persist across game sessions, they must use some form of iCloud storage.
2019-07-18 19:33:17 -07:00
..
android Updated copyright for 2019 2019-01-04 22:01:14 -08:00
cocoa Fixed bug 4726 - Fix for tvOS GetPrefPath 2019-07-18 19:33:17 -07:00
dummy Updated copyright for 2019 2019-01-04 22:01:14 -08:00
emscripten Updated copyright for 2019 2019-01-04 22:01:14 -08:00
haiku Updated copyright for 2019 2019-01-04 22:01:14 -08:00
nacl Updated copyright for 2019 2019-01-04 22:01:14 -08:00
unix Updated copyright for 2019 2019-01-04 22:01:14 -08:00
windows Updated copyright for 2019 2019-01-04 22:01:14 -08:00
winrt Updated copyright for 2019 2019-01-04 22:01:14 -08:00