doc: update documentation for Shared property in Switch class (ryubing/ryujinx!137)
See merge request ryubing/ryujinx!137
This commit is contained in:
parent
3309fb2351
commit
959af3613d
1 changed files with 12 additions and 0 deletions
|
|
@ -20,6 +20,18 @@ namespace Ryujinx.HLE
|
|||
{
|
||||
public class Switch : IDisposable
|
||||
{
|
||||
/// <summary>
|
||||
/// Currently running emulated Switch, if there is one.
|
||||
/// <para>
|
||||
/// Proper usage of this property null checks it before use, unless the caller is certain that the emulation is running.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// In case the emulation is running, there might be a way to directly pass the <see cref="Switch" /> instance, which is preferred.
|
||||
/// </para>
|
||||
/// <para>
|
||||
/// The instance is set to <c>this</c> on any <see cref="Switch" /> instantiation, and set to <c>null</c> on any <see cref="Switch" /> disposal.
|
||||
/// </para>
|
||||
/// </summary>
|
||||
public static Switch Shared { get; private set; }
|
||||
|
||||
public HleConfiguration Configuration { get; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue