mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-31 14:27:07 +02:00
[hle] splay
Signed-off-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
6f9d025ad2
commit
a4abca4040
14 changed files with 133 additions and 46 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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>&Mii Editor</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Launch_Splay">
|
||||
<property name="text">
|
||||
<string>&Splay</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Configure_Tas">
|
||||
<property name="text">
|
||||
<string>&Configure TAS...</string>
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue