]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
HARD_DDF_LIMITS_DISABLED condition can't be correct.
authorToni Wilen <twilen@winuae.net>
Tue, 24 Jul 2018 19:50:18 +0000 (22:50 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 24 Jul 2018 19:50:18 +0000 (22:50 +0300)
custom.cpp

index d7dda90c0105fedb26be3b22533f11aa66c0ec50..5feebc70060b14d54249089b949f44ba01c8a5b3 100644 (file)
@@ -702,7 +702,7 @@ static void decide_diw (int hpos)
                                thisline_decision.diwfirstword = diwfirstword < 0 ? min_diwlastword : diwfirstword;
                        hdiwstate = DIW_waiting_stop;
                }
-               if (((hpos >= maxhpos && HARD_DDF_LIMITS_DISABLED) || (lhdiw >= diw_hstop && last_hdiw < diw_hstop)) && hdiwstate == DIW_waiting_stop) {
+               if ((lhdiw >= diw_hstop && last_hdiw < diw_hstop) && hdiwstate == DIW_waiting_stop) {
                        if (thisline_decision.diwlastword < 0)
                                thisline_decision.diwlastword = diwlastword < 0 ? 0 : diwlastword;
                        hdiwstate = DIW_waiting_start;