• src/syncterm/syncterm.c term.c

    From Deuc¿@VERT to Git commit to main/sbbs/master on Sun Mar 2 16:42:05 2025
    https://gitlab.synchro.net/main/sbbs/-/commit/a8b3fb850894fd762b440afc
    Modified Files:
    src/syncterm/syncterm.c term.c
    Log Message:
    Fix the palette hack a bit

    This actually adjusts the palette values used by the CTerm shadow
    palette. This allows the palette to work properly without the
    weird offset thing.

    Unfortunately, this means a cterm_reset() will not use the new
    values, and since term.c doesn't know when cterm_reset() has been
    called, we can't fix it afterward anymore without being very
    invasive and double-checking after every cterm_write() call.

    This is fine for the indended audience however (ie: Atari ST
    emulation) since they don't have a reset sequence.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net