• src/doors/syncretro/syncretro_dirty.c syncretro_dirty.h syncretro_io.c

    From Rob Swindell (on Debian Linux)@1:103/705 to Git commit to main/sbbs/master on Wed Jul 22 20:38:40 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/e28eea3ed4aec6d6bf0e38ba
    Modified Files:
    src/doors/syncretro/syncretro_dirty.c syncretro_dirty.h syncretro_io.c test_dirty.c
    Log Message:
    syncretro: band-align dirty rects for cell-anchored terminals

    Add a band_align option to sr_dirty_find(): snap each rect height to LCM(cell_h, 6) -- a whole number of both text cells and 6px sixel bands
    -- and fall back to a full frame if a bottom-clamped rect can't cover
    its own changed rows. This is the discipline termgfx's SCUMM dirty path
    already carries to keep foot from backfilling a partial trailing band as
    a black strip. Passed 0 for now (SyncTERM path unchanged, byte-for-byte)
    so the correctness machinery lands before the non-SyncTERM gate opens.

    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)