mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-09-12 20:45:11 -05:00
Add replacement table for sanitize_string_for_path
This commit is contained in:
@@ -74,22 +74,23 @@ bool TitleSelectState::title_count_check()
|
||||
|
||||
void TitleSelectState::create_backup_menu()
|
||||
{
|
||||
const int selected = m_titleView->get_selected();
|
||||
const uint64_t applicationID = m_user->get_application_id_at(selected);
|
||||
data::TitleInfo *titleInfo = data::get_title_info_by_id(applicationID);
|
||||
const int selected = m_titleView->get_selected();
|
||||
const uint64_t applicationID = m_user->get_application_id_at(selected);
|
||||
data::TitleInfo *titleInfo = data::get_title_info_by_id(applicationID);
|
||||
const FsSaveDataInfo *saveInfo = m_user->get_save_info_at(selected);
|
||||
|
||||
auto backupMenu = std::make_shared<BackupMenuState>(m_user, titleInfo);
|
||||
auto backupMenu = std::make_shared<BackupMenuState>(m_user, titleInfo, saveInfo);
|
||||
StateManager::push_state(backupMenu);
|
||||
}
|
||||
|
||||
void TitleSelectState::create_title_option_menu()
|
||||
{
|
||||
const int selected = m_titleView->get_selected();
|
||||
const uint64_t applicationID = m_user->get_application_id_at(selected);
|
||||
data::TitleInfo *titleInfo = data::get_title_info_by_id(applicationID);
|
||||
const int selected = m_titleView->get_selected();
|
||||
const uint64_t applicationID = m_user->get_application_id_at(selected);
|
||||
data::TitleInfo *titleInfo = data::get_title_info_by_id(applicationID);
|
||||
const FsSaveDataInfo *saveInfo = m_user->get_save_info_at(selected);
|
||||
|
||||
auto titleOptions = std::make_shared<TitleOptionState>(m_user, titleInfo, this);
|
||||
StateManager::push_state(titleOptions);
|
||||
TitleOptionState::create_and_push(m_user, titleInfo, saveInfo, this);
|
||||
}
|
||||
|
||||
void TitleSelectState::deactivate_state()
|
||||
|
||||
Reference in New Issue
Block a user