Non-flags enums should not be used in bitwise operations (#5214)

This commit is contained in:
Marco Carvalho
2023-06-09 14:44:22 -03:00
committed by GitHub
parent 76b474e97b
commit 0e95a8271a
5 changed files with 16 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
using System;
namespace Ryujinx.HLE.HOS.Kernel.Threading
{
[Flags]
enum ThreadSchedState : ushort
{
LowMask = 0xf,