mirror of https://github.com/encounter/SDL.git
e954e32b0e
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. |
||
---|---|---|
.. | ||
android | ||
cocoa | ||
dummy | ||
emscripten | ||
haiku | ||
nacl | ||
unix | ||
windows | ||
winrt |