iR5900: Fix Wodr warnings.

This commit is contained in:
lightningterror 2021-10-26 22:09:08 +02:00
parent 6825b5d79a
commit 667f98334a
2 changed files with 17 additions and 11 deletions

View File

@ -448,13 +448,16 @@ void recDSUBU(void)
recDSUB();
}
enum class LogicalOp
namespace
{
AND,
OR,
XOR,
NOR
};
enum class LogicalOp
{
AND,
OR,
XOR,
NOR
};
} // namespace
static void recLogicalOp_constv(LogicalOp op, int info, int creg, u32 vreg)
{

View File

@ -224,12 +224,15 @@ void recANDI_const()
g_cpuConstRegs[_Rt_].UD[0] = g_cpuConstRegs[_Rs_].UD[0] & (u64)_ImmU_; // Zero-extended Immediate
}
enum class LogicalOp
namespace
{
AND,
OR,
XOR
};
enum class LogicalOp
{
AND,
OR,
XOR
};
} // namespace
static void recLogicalOpI(int info, LogicalOp op)
{