1
0
mirror of https://github.com/TomHarte/CLK.git synced 2026-04-25 11:17:26 +00:00

Ensures AY registers are conveyed.

This commit is contained in:
Thomas Harte
2021-04-26 17:39:11 -04:00
parent 700c505974
commit 3348167c46
4 changed files with 30 additions and 1 deletions
@@ -128,6 +128,7 @@ template<Model model> class ConcreteMachine:
const auto state = static_cast<State *>(target.state.get());
state->z80.apply(z80_);
state->video.apply(*video_.last_valid());
state->ay.apply(ay_);
// If this is a 48k or 16k machine, remap source data from its original
// linear form to whatever the banks end up being; otherwise copy as is.