1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-26 19:17:52 +00:00

Put word-sizing responsibility on the caller.

This commit is contained in:
Thomas Harte
2022-08-10 16:41:45 -04:00
parent e2a8b26b57
commit 94231ca3e3
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -86,7 +86,10 @@ class ConcreteMachine:
}
Memory::Fuzz(ram_);
video_->set_ram(reinterpret_cast<uint16_t *>(ram_.data()), ram_.size());
video_->set_ram(
reinterpret_cast<uint16_t *>(ram_.data()),
ram_.size() >> 1
);
constexpr ROM::Name rom_name = ROM::Name::AtariSTTOS100;
ROM::Request request(rom_name);