mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-17 10:16:59 +02:00
[hle/ui] Add cmds and fix invalid handle return, remove Starter applet from UI (#3376)
This fixes qlaunch "+ Options" :) More: - Remove Starter-Applet from menu (Starter is started by qlaunch) - Stub OLSC cmds and add IStopperObject - Fail-safe invalid handle return for system applets - Stub IHomeMenuFunctions::IsSleepEnabled (closes qlaunch now when hitting sleep) - Lower BuiltInNews timeout from 10s to 2s - Use proper Event instead of KEvent in npns Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/3376 Reviewed-by: CamilleLaVey <camillelavey99@gmail.com> Reviewed-by: MaranBr <maranbr@eden-emu.dev> Co-authored-by: Maufeat <sahyno1996@gmail.com> Co-committed-by: Maufeat <sahyno1996@gmail.com>
This commit is contained in:
parent
29fad5a89e
commit
ddbb6f2219
20 changed files with 210 additions and 62 deletions
|
|
@ -172,7 +172,6 @@
|
|||
<addaction name="action_Launch_QLaunch"/>
|
||||
<addaction name="action_Launch_MiiEdit"/>
|
||||
<addaction name="action_Launch_Controller"/>
|
||||
<addaction name="action_Launch_Setup"/>
|
||||
<addaction name="action_Launch_PhotoViewer"/>
|
||||
</widget>
|
||||
<widget class="QMenu" name="menuTAS">
|
||||
|
|
@ -508,14 +507,6 @@
|
|||
<string>&Home Menu</string>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Launch_Setup">
|
||||
<property name="text">
|
||||
<string>&Setup</string>
|
||||
</property>
|
||||
<property name="menuRole">
|
||||
<enum>QAction::MenuRole::TextHeuristicRole</enum>
|
||||
</property>
|
||||
</action>
|
||||
<action name="action_Desktop">
|
||||
<property name="text">
|
||||
<string>&Desktop</string>
|
||||
|
|
|
|||
|
|
@ -1630,9 +1630,6 @@ void MainWindow::ConnectMenuEvents() {
|
|||
connect_menu(ui->action_Launch_QLaunch, [this]{
|
||||
LaunchFirmwareApplet(u64(Service::AM::AppletProgramId::QLaunch), std::nullopt);
|
||||
});
|
||||
connect_menu(ui->action_Launch_Setup, [this]{
|
||||
LaunchFirmwareApplet(u64(Service::AM::AppletProgramId::Starter), std::nullopt);
|
||||
});
|
||||
// Tools (cabinet)
|
||||
connect_menu(ui->action_Launch_Cabinet_Nickname_Owner, [this]{
|
||||
LaunchFirmwareApplet(u64(Service::AM::AppletProgramId::Cabinet), {Service::NFP::CabinetMode::StartNicknameAndOwnerSettings});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue