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:
Ac_K 2020-12-16 01:41:42 +01:00 committed by GitHub
parent 3332b29f01
commit 808380690c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 45 additions and 26 deletions

View file

@ -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))