Mockingboard: only do multi-TIMER1 support update when 6502 interrupts are enabled. (#685)

This commit is contained in:
tomcw
2019-09-06 19:59:28 +01:00
parent ed9ae72778
commit 300494c470
3 changed files with 11 additions and 2 deletions
+5
View File
@@ -188,6 +188,11 @@ void SetActiveCpu(eCpuType cpu)
g_ActiveCPU = cpu;
}
bool Is6502InterruptEnabled(void)
{
return !(regs.ps & AF_INTERRUPT);
}
//
#include "CPU/cpu_general.inl"