games/snes: silly bug

This commit is contained in:
aiju 2014-03-22 11:11:51 +01:00
parent 3e9650551e
commit b13425e2b0

View file

@ -597,10 +597,11 @@ tsb(u32int a, int set)
}else
if((rA & v) == 0)
rP |= FLAGZ;
io();
if(set)
rmw(a, v, v | rA);
memw816(a, v | rA);
else
rmw(a, v, v & ~rA);
memw816(a, v & ~rA);
}
enum { COP = 0, BRK = 1, NMI = 3, IRQ = 5 };