67,72d66
< AtomicSimpleCPU::TickEvent::TickEvent(AtomicSimpleCPU *c)
< : Event(CPU_Tick_Pri), cpu(c)
< {
< }
<
<
74,85d67
< AtomicSimpleCPU::TickEvent::process()
< {
< cpu->tick();
< }
<
< const char *
< AtomicSimpleCPU::TickEvent::description() const
< {
< return "AtomicSimpleCPU tick";
< }
<
< void
97c79,82
< : BaseSimpleCPU(p), tickEvent(this), width(p->width), locked(false),
---
> : BaseSimpleCPU(p),
> tickEvent([this]{ tick(); }, "AtomicSimpleCPU tick",
> false, Event::CPU_Tick_Pri),
> width(p->width), locked(false),