mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-09 05:25:01 +00:00
Avoid potential classic macro error with address
.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler, uses_ready_line>::run_for(const Cycles cycles) {
|
template <typename BusHandler, bool uses_ready_line> void Processor<BusHandler, uses_ready_line>::run_for(const Cycles cycles) {
|
||||||
|
|
||||||
#define perform_bus(address, value, operation) \
|
#define perform_bus(address, value, operation) \
|
||||||
bus_address_ = address & 0xff'ffff; \
|
bus_address_ = (address) & 0xff'ffff; \
|
||||||
bus_value_ = value; \
|
bus_value_ = value; \
|
||||||
bus_operation_ = operation
|
bus_operation_ = operation
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user