mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-09 00:37:27 +00:00
Add note to self.
This commit is contained in:
parent
164a7fe848
commit
832e31f7e5
@ -267,6 +267,7 @@ struct Memory {
|
||||
uint16_t write_back_value_;
|
||||
};
|
||||
|
||||
// TODO: the decoder is clearly sign-extending 8-bit port addresses. That's incorrect. Fix.
|
||||
struct IO {
|
||||
template <typename IntT> void out([[maybe_unused]] uint16_t port, [[maybe_unused]] IntT value) {
|
||||
if constexpr (std::is_same_v<IntT, uint8_t>) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user