Emergency push.

This commit is contained in:
J-D-K
2025-01-31 19:45:44 -05:00
parent e894b39c63
commit 88e66992ed
47 changed files with 1669 additions and 300 deletions

View File

@@ -2,6 +2,7 @@
#include "JKSV.hpp"
#include "appstates/BackupMenuState.hpp"
#include "appstates/MainMenuState.hpp"
#include "appstates/TitleOptionState.hpp"
#include "colors.hpp"
#include "config.hpp"
#include "fs/fs.hpp"
@@ -47,6 +48,13 @@ void TitleSelectState::update(void)
logger::log("%s", fslib::getErrorString());
}
}
else if (input::buttonPressed(HidNpadButton_X))
{
uint64_t applicationID = m_user->getApplicationIDAt(m_titleView.getSelected());
data::TitleInfo *titleInfo = data::getTitleInfoByID(applicationID);
JKSV::pushState(std::make_shared<TitleOptionState>(m_user, titleInfo));
}
else if (input::buttonPressed(HidNpadButton_B))
{
// This will reset all the tiles so they're 128x128.