1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Add missing header; correct type.

This commit is contained in:
Thomas Harte 2023-01-12 23:08:01 -05:00
parent ce440d52b3
commit 78ce439b9b
2 changed files with 3 additions and 1 deletions

View File

@ -400,7 +400,7 @@ class ConcreteMachine:
// secondary slot communication.
final_slot_ = &memory_slots_[primary >> 6];
for(std::size_t c = 0; c < 8; c += 2) {
for(int c = 0; c < 8; c += 2) {
const MemorySlot &slot = memory_slots_[primary & 3];
primary >>= 2;

View File

@ -8,6 +8,8 @@
#include "MemorySlotHandler.hpp"
#include <cassert>
using namespace MSX;
MemorySlot::MemorySlot() {