mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-06-28 21:56:24 +02:00
misc: Forgot about ReactiveObject
This commit is contained in:
parent
f463ea1c5d
commit
cbd851d00e
6 changed files with 16 additions and 29 deletions
|
@ -8,20 +8,7 @@ namespace Ryujinx.Common
|
|||
{
|
||||
public static class TitleIDs
|
||||
{
|
||||
private static string _currentApplication;
|
||||
|
||||
public static Optional<string> CurrentApplication
|
||||
{
|
||||
get => _currentApplication;
|
||||
set
|
||||
{
|
||||
_currentApplication = value.OrElse(null);
|
||||
|
||||
CurrentApplicationChanged?.Invoke(_currentApplication);
|
||||
}
|
||||
}
|
||||
|
||||
public static event Action<Optional<string>> CurrentApplicationChanged;
|
||||
public static ReactiveObject<Optional<string>> CurrentApplication { get; set; } = new();
|
||||
|
||||
public static GraphicsBackend SelectGraphicsBackend(string titleId, GraphicsBackend currentBackend)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue