am: Add all known AppletMessage (#2378)

This PR add all known AppletMessage values for accuracy, nothing more.
`MessageInfo` is renamed to the right `AppletMessage` name.
This commit is contained in:
Ac_K 2021-06-21 18:41:37 +02:00 committed by GitHub
parent 65fee49e8a
commit aca1c37d4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 49 additions and 17 deletions

View file

@ -321,8 +321,8 @@ namespace Ryujinx.HLE.HOS
State.DockedMode = newState;
PerformanceState.PerformanceMode = State.DockedMode ? PerformanceMode.Boost : PerformanceMode.Default;
AppletState.Messages.Enqueue(MessageInfo.OperationModeChanged);
AppletState.Messages.Enqueue(MessageInfo.PerformanceModeChanged);
AppletState.Messages.Enqueue(AppletMessage.OperationModeChanged);
AppletState.Messages.Enqueue(AppletMessage.PerformanceModeChanged);
AppletState.MessageEvent.ReadableEvent.Signal();
SignalDisplayResolutionChange();
@ -338,7 +338,7 @@ namespace Ryujinx.HLE.HOS
public void SimulateWakeUpMessage()
{
AppletState.Messages.Enqueue(MessageInfo.Resume);
AppletState.Messages.Enqueue(AppletMessage.Resume);
AppletState.MessageEvent.ReadableEvent.Signal();
}