mirror of
https://github.com/TomHarte/CLK.git
synced 2024-12-27 01: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:
parent
c628b7c5c5
commit
988bbb5ab1
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user