mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-10-21 11:41:40 +00:00
25 lines
678 B
C#
25 lines
678 B
C#
|
namespace Ryujinx.HLE.HOS.Services.Mm.Types
|
|||
|
{
|
|||
|
class MultiMediaSession
|
|||
|
{
|
|||
|
public MultiMediaOperationType Type { get; }
|
|||
|
|
|||
|
public bool IsAutoClearEvent { get; }
|
|||
|
public uint Id { get; }
|
|||
|
public uint CurrentValue { get; private set; }
|
|||
|
|
|||
|
public MultiMediaSession(uint id, MultiMediaOperationType type, bool isAutoClearEvent)
|
|||
|
{
|
|||
|
Type = type;
|
|||
|
Id = id;
|
|||
|
IsAutoClearEvent = isAutoClearEvent;
|
|||
|
CurrentValue = 0;
|
|||
|
}
|
|||
|
|
|||
|
public void SetAndWait(uint value, int timeout)
|
|||
|
{
|
|||
|
CurrentValue = value;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|