[hle] splay

Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
lizzie 2026-02-19 00:38:16 +00:00
parent 6f9d025ad2
commit a4abca4040
14 changed files with 133 additions and 46 deletions

View file

@ -63,7 +63,8 @@ void ConfigureApplets::Setup(const ConfigurationShared::Builder& builder) {
setting->Id() == Settings::values.shop_applet_mode.Id() ||
setting->Id() == Settings::values.login_share_applet_mode.Id() ||
setting->Id() == Settings::values.wifi_web_auth_applet_mode.Id() ||
setting->Id() == Settings::values.my_page_applet_mode.Id()) {
setting->Id() == Settings::values.my_page_applet_mode.Id() ||
setting->Id() == Settings::values.splay_applet_mode.Id()) {
widget->setHidden(true);
}

View file

@ -189,6 +189,7 @@
<addaction name="action_Launch_MiiEdit"/>
<addaction name="action_Launch_Controller"/>
<addaction name="action_Launch_PhotoViewer"/>
<addaction name="action_Launch_Splay"/>
</widget>
<widget class="QMenu" name="menuTAS">
<property name="title">
@ -465,6 +466,11 @@
<string>&amp;Mii Editor</string>
</property>
</action>
<action name="action_Launch_Splay">
<property name="text">
<string>&amp;Splay</string>
</property>
</action>
<action name="action_Configure_Tas">
<property name="text">
<string>&amp;Configure TAS...</string>

View file

@ -1700,6 +1700,9 @@ void MainWindow::ConnectMenuEvents() {
connect_menu(ui->action_Launch_QLaunch, [this]{
LaunchFirmwareApplet(u64(Service::AM::AppletProgramId::QLaunch), std::nullopt);
});
connect_menu(ui->action_Launch_Splay, [this]{
LaunchFirmwareApplet(u64(Service::AM::AppletProgramId::Splay), std::nullopt);
});
// Tools (cabinet)
connect_menu(ui->action_Launch_Cabinet_Nickname_Owner, [this]{
LaunchFirmwareApplet(u64(Service::AM::AppletProgramId::Cabinet), {Service::NFP::CabinetMode::StartNicknameAndOwnerSettings});
@ -1762,7 +1765,8 @@ void MainWindow::UpdateMenuState() {
ui->action_Launch_Cabinet_Formatter,
ui->action_Launch_MiiEdit,
ui->action_Launch_QLaunch,
ui->action_Launch_Controller
ui->action_Launch_Controller,
ui->action_Launch_Splay
};
for (QAction* action : running_actions) {
@ -4101,6 +4105,7 @@ void MainWindow::LaunchFirmwareApplet(u64 raw_program_id, std::optional<Service:
case AppletProgramId::LoginShare: return AppletId::LoginShare;
case AppletProgramId::WebAuth: return AppletId::WebAuth;
case AppletProgramId::MyPage: return AppletId::MyPage;
case AppletProgramId::Splay: return AppletId::Splay;
default: return AppletId::None;
}
}(); applet_id != Service::AM::AppletId::None) {