mirror of
https://github.com/TomHarte/CLK.git
synced 2026-04-24 05:18:36 +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:
@@ -125,7 +125,10 @@ template<Model model> class ConcreteMachine:
|
||||
|
||||
// Install state if supplied.
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user