diff options
| author | 2026-04-24 00:54:09 +0200 | |
|---|---|---|
| committer | 2026-04-24 00:54:09 +0200 | |
| commit | 0fa3532209ee1cddff2738c09100404f7ded15eb (patch) | |
| tree | 6ce3f1b3979b7cb7b6f5a1c187be561dad44f80b | |
| parent | de103666b0fe892d2d02b747ea099a8806edf524 (diff) | |
screen: fix possible issue with update_partial
| -rw-r--r-- | src/emu/screen.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/screen.cpp b/src/emu/screen.cpp index 5e220df4c00..df19df7c11e 100644 --- a/src/emu/screen.cpp +++ b/src/emu/screen.cpp @@ -1296,10 +1296,10 @@ bool screen_device::update_partial(int vpos, int hpos) return false; } - // if beam position is the same, there's nothing to update - if (vpos == m_last_partial_scan && hpos == m_partial_scan_hpos) + // if beam position is the same or less, there's nothing to update + if (vpos == m_last_partial_scan && hpos <= m_partial_scan_hpos) { - LOG_PARTIAL_UPDATES(("skipped because beam position is unchanged\n")); + LOG_PARTIAL_UPDATES(("skipped because beam position already passed\n")); return false; } |
