1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-02-27 00:30:26 +00:00

Tweak mode latch time too.

This commit is contained in:
Thomas Harte 2024-09-12 20:47:27 -04:00
parent 63d501b629
commit 581454db69

View File

@ -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_) {