mirror of
https://github.com/TomHarte/CLK.git
synced 2025-04-22 09:37:21 +00:00
Accept uint8_t
s only.
This commit is contained in:
parent
bff10c1714
commit
4e882e7d4d
@ -120,8 +120,7 @@ public:
|
||||
void post([[maybe_unused]] const uint8_t value) {
|
||||
}
|
||||
|
||||
template <typename IntT>
|
||||
void write(const uint16_t port, const IntT value) {
|
||||
void write(const uint16_t port, const uint8_t value) {
|
||||
switch(port) {
|
||||
default:
|
||||
log_.error().append("Unimplemented AT keyboard write: %04x to %04x", value, port);
|
||||
|
@ -292,7 +292,7 @@ public:
|
||||
if constexpr (is_xt(model)) {
|
||||
ppi_.write(port, uint8_t(value));
|
||||
} else {
|
||||
keyboard_.write(port, value);
|
||||
keyboard_.write(port, uint8_t(value));
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user