Don't check for the I flag on PLP and RTI

* Apparently the I flag is not set for PLP and RTI, or rather, our implementation of
      mockingboard seems to expect it not to be set for these opcodes...
This commit is contained in:
Aaron Culliney 2014-03-30 15:19:35 -07:00
parent c1e2e99c26
commit cb04d39c37

View File

@ -5112,7 +5112,7 @@ TEST test_PLP(uint8_t flags) {
ASSERT(cpu65_current.x == 0x03); ASSERT(cpu65_current.x == 0x03);
ASSERT(cpu65_current.y == 0x04); ASSERT(cpu65_current.y == 0x04);
ASSERT(cpu65_current.sp == sp+1); ASSERT(cpu65_current.sp == sp+1);
ASSERT(cpu65_current.f == (flags | fB | fX | fI)); ASSERT(cpu65_current.f == (flags | fB | fX));
ASSERT(cpu65_debug.ea == TEST_LOC); ASSERT(cpu65_debug.ea == TEST_LOC);
ASSERT(cpu65_debug.d == 0xff); ASSERT(cpu65_debug.d == 0xff);
@ -5671,7 +5671,7 @@ TEST test_RTI(uint8_t flags) {
ASSERT(cpu65_current.a == 0x02); ASSERT(cpu65_current.a == 0x02);
ASSERT(cpu65_current.x == 0x03); ASSERT(cpu65_current.x == 0x03);
ASSERT(cpu65_current.y == 0x04); ASSERT(cpu65_current.y == 0x04);
ASSERT(cpu65_current.f == (flags | fB | fX | fI)); ASSERT(cpu65_current.f == (flags | fB | fX));
ASSERT(cpu65_current.sp == 0x83); ASSERT(cpu65_current.sp == 0x83);
ASSERT(cpu65_debug.ea == TEST_LOC); ASSERT(cpu65_debug.ea == TEST_LOC);