Add delete_all_remote_backups and some refactoring.

This commit is contained in:
J-D-K
2025-08-01 13:53:57 -04:00
parent 73af5ffe7e
commit 8172e59ccf
73 changed files with 1450 additions and 833 deletions

View File

@@ -30,6 +30,18 @@ TitleSelectState::TitleSelectState(data::User *user)
SDL_TEXTUREACCESS_STATIC | SDL_TEXTUREACCESS_TARGET))
, m_titleView(m_user) {};
std::shared_ptr<TitleSelectState> TitleSelectState::create(data::User *user)
{
return std::make_shared<TitleSelectState>(user);
}
std::shared_ptr<TitleSelectState> TitleSelectState::create_and_push(data::User *user)
{
auto newState = TitleSelectState::create(user);
StateManager::push_state(newState);
return newState;
}
void TitleSelectState::update()
{
if (!TitleSelectState::title_count_check()) { return; }