1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-28 09:29:07 +00:00

Merge branch 'InST' of github.com:TomHarte/CLK into InST

This commit is contained in:
Thomas Harte 2022-06-15 08:12:45 -04:00
commit fba709f46d

View File

@ -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 <typename Microcycle> 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);