Skip to content

Commit 5283f73

Browse files
committed
storage: Declare a private bootstrap for NDA user storage
1 parent 8b924df commit 5283f73

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/storage/SDL_storage.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ static TitleStorageBootStrap *titlebootstrap[] = {
3434
static UserStorageBootStrap *userbootstrap[] = {
3535
#ifdef SDL_STORAGE_STEAM
3636
&STEAM_userbootstrap,
37+
#endif
38+
#ifdef SDL_STORAGE_PRIVATE
39+
&PRIVATE_userbootstrap,
3740
#endif
3841
&GENERIC_userbootstrap,
3942
NULL

src/storage/SDL_sysstorage.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ extern TitleStorageBootStrap GENERIC_titlebootstrap;
4444
// Steam does not have title storage APIs
4545

4646
extern UserStorageBootStrap GENERIC_userbootstrap;
47+
extern UserStorageBootStrap PRIVATE_userbootstrap;
4748
extern UserStorageBootStrap STEAM_userbootstrap;
4849

4950
extern SDL_Storage *GENERIC_OpenFileStorage(const char *path);

0 commit comments

Comments
 (0)