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:
parent
65fee49e8a
commit
aca1c37d4b
5 changed files with 49 additions and 17 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue