mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-12 20:45:11 -05:00
Add delete_all_remote_backups and some refactoring.
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user