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

Corrects a long-standing naming obscurity.

This commit is contained in:
Thomas Harte 2020-09-27 22:19:42 -04:00
parent fa438e5113
commit ad8a2e2cb9

View File

@ -205,12 +205,12 @@ class ProcessorBase: public ProcessorStorage {
can also nominate whether the processor includes support for the ready line. Declining to support the ready line can also nominate whether the processor includes support for the ready line. Declining to support the ready line
can produce a minor runtime performance improvement. can produce a minor runtime performance improvement.
*/ */
template <Personality personality, typename T, bool uses_ready_line> class Processor: public ProcessorBase { template <Personality personality, typename BusHandler, bool uses_ready_line> class Processor: public ProcessorBase {
public: public:
/*! /*!
Constructs an instance of the 6502 that will use @c bus_handler for all bus communications. Constructs an instance of the 6502 that will use @c bus_handler for all bus communications.
*/ */
Processor(T &bus_handler) : ProcessorBase(personality), bus_handler_(bus_handler) {} Processor(BusHandler &bus_handler) : ProcessorBase(personality), bus_handler_(bus_handler) {}
/*! /*!
Runs the 6502 for a supplied number of cycles. Runs the 6502 for a supplied number of cycles.
@ -227,7 +227,7 @@ template <Personality personality, typename T, bool uses_ready_line> class Proce
void set_ready_line(bool active); void set_ready_line(bool active);
private: private:
T &bus_handler_; BusHandler &bus_handler_;
}; };
#include "Implementation/6502Implementation.hpp" #include "Implementation/6502Implementation.hpp"