some day i will remember to test before pushing

This commit is contained in:
Jaklyy 2024-09-20 04:39:16 -04:00
parent 45f87a1c8d
commit c133814713

View File

@ -587,7 +587,7 @@ A_IMPLEMENT_ALU_OP(RSC,)
{ \
if (cpu->Num == 1) \
{ \
u32 oldcpsr = cpu->CPSR; \
u32 oldpsr = cpu->CPSR; \
cpu->RestoreCPSR(); /* ARM7TDMI restores cpsr and does ___not___ flush the pipeline. */ \
if (!(oldpsr & 0x20) && (cpu->CPSR & 0x20)) \
{ \
@ -611,7 +611,7 @@ A_IMPLEMENT_ALU_TEST(TST,_S)
{ \
if (cpu->Num == 1) \
{ \
u32 oldcpsr = cpu->CPSR; \
u32 oldpsr = cpu->CPSR; \
cpu->RestoreCPSR(); /* ARM7TDMI restores cpsr and does ___not___ flush the pipeline. */ \
if (!(oldpsr & 0x20) && (cpu->CPSR & 0x20)) \
{ \
@ -637,7 +637,7 @@ A_IMPLEMENT_ALU_TEST(TEQ,_S)
{ \
if (cpu->Num == 1) \
{ \
u32 oldcpsr = cpu->CPSR; \
u32 oldpsr = cpu->CPSR; \
cpu->RestoreCPSR(); /* ARM7TDMI restores cpsr and does ___not___ flush the pipeline. */ \
if (!(oldpsr & 0x20) && (cpu->CPSR & 0x20)) \
{ \
@ -663,7 +663,7 @@ A_IMPLEMENT_ALU_TEST(CMP,)
{ \
if (cpu->Num == 1) \
{ \
u32 oldcpsr = cpu->CPSR; \
u32 oldpsr = cpu->CPSR; \
cpu->RestoreCPSR(); /* ARM7TDMI restores cpsr and does ___not___ flush the pipeline. */ \
if (!(oldpsr & 0x20) && (cpu->CPSR & 0x20)) \
{ \
@ -1629,7 +1629,7 @@ void T_CMP_HIREG(ARM* cpu)
{
if (cpu->Num == 1)
{
u32 oldcpsr = cpu->CPSR;
u32 oldpsr = cpu->CPSR;
cpu->RestoreCPSR(); // ARM7TDMI restores cpsr and does ___not___ flush the pipeline.
if (!(oldpsr & 0x20) && (cpu->CPSR & 0x20))
{