Skip to content

Commit

Permalink
Map the device on the associated memory map in add_device
Browse files Browse the repository at this point in the history
  • Loading branch information
kazssym committed Dec 26, 2020
1 parent 5dbfa01 commit a500ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libvm68kapi/device_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ void device_manager::add_device(const shared_ptr<device> &device)
{
auto &&inserted = _devices.insert(device);
if (inserted.second) {
// TODO: Implement this function.
device->map(*_memory);
}
}

0 comments on commit a500ad6

Please sign in to comment.