From 5283f737487159a02ad2156eaeef6d6366a39b5a Mon Sep 17 00:00:00 2001 From: Ethan Lee Date: Tue, 18 Mar 2025 22:12:21 -0400 Subject: [PATCH] storage: Declare a private bootstrap for NDA user storage --- src/storage/SDL_storage.c | 3 +++ src/storage/SDL_sysstorage.h | 1 + 2 files changed, 4 insertions(+) diff --git a/src/storage/SDL_storage.c b/src/storage/SDL_storage.c index 75952ffd23..7c395b36a8 100644 --- a/src/storage/SDL_storage.c +++ b/src/storage/SDL_storage.c @@ -34,6 +34,9 @@ static TitleStorageBootStrap *titlebootstrap[] = { static UserStorageBootStrap *userbootstrap[] = { #ifdef SDL_STORAGE_STEAM &STEAM_userbootstrap, +#endif +#ifdef SDL_STORAGE_PRIVATE + &PRIVATE_userbootstrap, #endif &GENERIC_userbootstrap, NULL diff --git a/src/storage/SDL_sysstorage.h b/src/storage/SDL_sysstorage.h index 57d60d6474..f047e551f9 100644 --- a/src/storage/SDL_sysstorage.h +++ b/src/storage/SDL_sysstorage.h @@ -44,6 +44,7 @@ extern TitleStorageBootStrap GENERIC_titlebootstrap; // Steam does not have title storage APIs extern UserStorageBootStrap GENERIC_userbootstrap; +extern UserStorageBootStrap PRIVATE_userbootstrap; extern UserStorageBootStrap STEAM_userbootstrap; extern SDL_Storage *GENERIC_OpenFileStorage(const char *path);