mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-04 07:19:27 +02:00
misc: chore: Merge into pattern
This commit is contained in:
@@ -262,7 +262,7 @@ namespace Ryujinx.Graphics.Gpu.Memory
|
||||
/// <returns>True if pitch, false otherwise</returns>
|
||||
public static bool IsPitch(this PteKind kind)
|
||||
{
|
||||
return kind == PteKind.Pitch || kind == PteKind.PitchNoSwizzle;
|
||||
return kind is PteKind.Pitch or PteKind.PitchNoSwizzle;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user