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