mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
parent
277f91c317
commit
10004ab0ea
12 changed files with 57 additions and 7 deletions
|
|
@ -118,7 +118,9 @@ SDL_Storage *SDL_OpenTitleStorage(const char *override, SDL_PropertiesID props)
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!storage) {
|
||||
if (storage) {
|
||||
SDL_LogBackend("title_storage", titlebootstrap[i]->name);
|
||||
} else {
|
||||
if (driver_name) {
|
||||
SDL_SetError("%s not available", driver_name);
|
||||
} else {
|
||||
|
|
@ -160,7 +162,9 @@ SDL_Storage *SDL_OpenUserStorage(const char *org, const char *app, SDL_Propertie
|
|||
}
|
||||
}
|
||||
}
|
||||
if (!storage) {
|
||||
if (storage) {
|
||||
SDL_LogBackend("user_storage", userbootstrap[i]->name);
|
||||
} else {
|
||||
if (driver_name) {
|
||||
SDL_SetError("%s not available", driver_name);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue