mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-08 00:48:51 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -1117,8 +1117,7 @@ namespace ARMeilleure.Translation.PTC
|
||||
|
||||
public void Close()
|
||||
{
|
||||
if (State == PtcState.Enabled ||
|
||||
State == PtcState.Continuing)
|
||||
if (State is PtcState.Enabled or PtcState.Continuing)
|
||||
{
|
||||
State = PtcState.Closing;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user