From e71eabedf95caca2ebf65c1adfb5b12298e2cd64 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Thu, 3 Aug 2017 21:30:04 -0400 Subject: [PATCH] Fixed timer clearing tet. --- Machines/AmstradCPC/AmstradCPC.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Machines/AmstradCPC/AmstradCPC.cpp b/Machines/AmstradCPC/AmstradCPC.cpp index de44fea88..00031ed89 100644 --- a/Machines/AmstradCPC/AmstradCPC.cpp +++ b/Machines/AmstradCPC/AmstradCPC.cpp @@ -541,7 +541,7 @@ class ConcreteMachine: read_pointers_[3] = (*cycle.value & 8) ? &ram_[49152] : basic_.data(); // Reset the interrupt timer if requested. - if(*cycle.value & 15) interrupt_timer_.reset_count(); + if(*cycle.value & 0x10) interrupt_timer_.reset_count(); // Post the next mode. crtc_bus_handler_.set_next_mode(*cycle.value & 3);