mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
fix regression from last commit
also a small mistake with msr
This commit is contained in:
@ -105,7 +105,7 @@ void Compiler::A_Comp_MSR()
|
||||
if ((mask & 0xFF) == 0)
|
||||
{
|
||||
AND(32, R(RCPSR), Imm32(~mask));
|
||||
if (val.IsImm())
|
||||
if (!val.IsImm())
|
||||
{
|
||||
MOV(32, R(RSCRATCH), val);
|
||||
AND(32, R(RSCRATCH), Imm32(mask));
|
||||
|
Reference in New Issue
Block a user