am/gui: Implement Wake-up message (#1750)
* am/gui: Implement Wake-up message. This implement the ability to send a Wake-up (Resume) message to the guest. Sometime games needs to Sleep and Wake-up the switch to unlock some ingame features. * Address gdkchan feedback
This commit is contained in:
parent
3332b29f01
commit
808380690c
6 changed files with 45 additions and 26 deletions
|
@ -1205,6 +1205,11 @@ namespace Ryujinx.Ui
|
|||
settingsWin.Show();
|
||||
}
|
||||
|
||||
private void Simulate_WakeUp_Message_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
_emulationContext.System.SimulateWakeUpMessage();
|
||||
}
|
||||
|
||||
private void Update_Pressed(object sender, EventArgs args)
|
||||
{
|
||||
if (Updater.CanUpdate(true))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue