Skip to content

Commit

Permalink
Tweak mode latch time too.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomHarte committed Sep 13, 2024
1 parent 63d501b commit 581454d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Machines/AmstradCPC/AmstradCPC.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ class CRTCBusHandler {
}

// Check for a trailing CRTC hsync; if one occurred then that's the trigger potentially to change modes.
if(!was_hsync_ && state.hsync) {
if(was_hsync_ && !state.hsync) {
if(mode_ != next_mode_) {
mode_ = next_mode_;
switch(mode_) {
Expand Down

0 comments on commit 581454d

Please sign in to comment.