1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 03:29:40 +00:00

Extends logic for when to fall back on standard keypress logic even in logical mode.

This commit is contained in:
Thomas Harte
2020-03-01 20:25:12 -05:00
parent 611182910a
commit ed18092088
14 changed files with 60 additions and 5 deletions
+5
View File
@@ -369,6 +369,11 @@ class ConcreteMachine:
);
}
bool can_type(char c) final {
// Make an effort to type the entire printable ASCII range.
return c >= 32 && c < 127;
}
// MARK: MSX::MemoryMap
void map(int slot, std::size_t source_address, uint16_t destination_address, std::size_t length) final {
assert(!(destination_address & 8191));