From 6aa599a17c92cc4c9f046ad76a55a94516db2903 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Mon, 6 Jun 2022 08:20:16 -0400 Subject: [PATCH] Future-proof `perform_bus_operation`. --- Machines/Atari/ST/AtariST.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Machines/Atari/ST/AtariST.cpp b/Machines/Atari/ST/AtariST.cpp index f91611647..c87092646 100644 --- a/Machines/Atari/ST/AtariST.cpp +++ b/Machines/Atari/ST/AtariST.cpp @@ -158,8 +158,7 @@ class ConcreteMachine: } // MARK: MC68000::BusHandler - using Microcycle = CPU::MC68000Mk2::Microcycle; - HalfCycles perform_bus_operation(const Microcycle &cycle, int is_supervisor) { + template HalfCycles perform_bus_operation(const Microcycle &cycle, int is_supervisor) { // Just in case the last cycle was an interrupt acknowledge or bus error. TODO: find a better solution? mc68000_.set_is_peripheral_address(false); mc68000_.set_bus_error(false);