mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-07 03:38:56 +02:00
2 unmerged PRs from original Ryujinx:
Implement shader compile counter (currently not translated, will change, need to pull changes.) Remove event logic in favor of a single init function. Thanks @MutantAura
This commit is contained in:
committed by
KeatonTheBot
parent
da0b784679
commit
e9dea85064
@@ -41,10 +41,12 @@ namespace Ryujinx.Common
|
||||
}
|
||||
}
|
||||
|
||||
public static implicit operator T(ReactiveObject<T> obj)
|
||||
{
|
||||
return obj.Value;
|
||||
}
|
||||
public static implicit operator T(ReactiveObject<T> obj) => obj.Value;
|
||||
}
|
||||
|
||||
public static class ReactiveObjectHelper
|
||||
{
|
||||
public static void Toggle(this ReactiveObject<bool> rBoolean) => rBoolean.Value = !rBoolean.Value;
|
||||
}
|
||||
|
||||
public class ReactiveEventArgs<T>
|
||||
|
||||
Reference in New Issue
Block a user