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

Baby steps: apply Z80 state.

As far as it currently is. Since SNA is leaving the PC at the default of 0x0000, this currently has no visible effect.
This commit is contained in:
Thomas Harte 2021-04-25 13:03:24 -04:00
parent 7aeb17ac92
commit 0ebd900e40

View File

@ -125,7 +125,10 @@ template<Model model> class ConcreteMachine:
// Install state if supplied. // Install state if supplied.
if(target.state) { if(target.state) {
LOG("TODO: state"); const auto state = static_cast<State *>(target.state.get());
state->z80.apply(z80_);
LOG("TODO: apply rest of state");
} }
} }