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

Ensured AY registers aren't rewritten just because of a synchronise event. A stall prior to figuring out proper bus logic, clearly.

This commit is contained in:
Thomas Harte 2016-10-17 08:05:57 -04:00
parent c628b7c5c5
commit 988bbb5ab1

View File

@ -146,7 +146,7 @@ class Machine:
std::shared_ptr<Storage::Tape::BinaryTapePlayer> tape; std::shared_ptr<Storage::Tape::BinaryTapePlayer> tape;
std::shared_ptr<Keyboard> keyboard; std::shared_ptr<Keyboard> keyboard;
inline void synchronise() { update_ay(); } inline void synchronise() { ay8910->run_for_cycles(_half_cycles_since_ay_update >> 1); }
private: private:
void update_ay() void update_ay()