From f9d1c554b7008b407513f45a401de430d1829e1c Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 25 May 2022 16:05:28 -0400 Subject: [PATCH] Fix for the actual number of cycles in a standard reset. --- OSBindings/Mac/Clock SignalTests/TestRunner68000.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OSBindings/Mac/Clock SignalTests/TestRunner68000.hpp b/OSBindings/Mac/Clock SignalTests/TestRunner68000.hpp index 414da9395..650d79641 100644 --- a/OSBindings/Mac/Clock SignalTests/TestRunner68000.hpp +++ b/OSBindings/Mac/Clock SignalTests/TestRunner68000.hpp @@ -76,8 +76,8 @@ class RAM68000: public CPU::MC68000Mk2::BusHandler { // cycles to finish the reset program, and set the stored state. if(!has_run_) { has_run_ = true; - m68000_.run_for(HalfCycles(76)); - duration_ -= HalfCycles(76); + m68000_.run_for(HalfCycles(80)); + duration_ -= HalfCycles(80); } } @@ -140,7 +140,7 @@ class RAM68000: public CPU::MC68000Mk2::BusHandler { } private: - CPU::MC68000Mk2::Processor m68000_; + CPU::MC68000Mk2::Processor m68000_; std::array ram_{}; int instructions_remaining_; HalfCycles duration_;