https://gitlab.synchro.net/main/sbbs/-/commit/28411ee7643138917cb6e218
Modified Files:
src/conio/bitmap_con.c
Log Message:
First attempt at fixing bug ticket 209
Apparently new for v1.7 we're snapping to the next lower integer
scaling on any clal to textmode()... this is bad because some
people don't want integer scaling for various excellent reasons.
Deal with this two ways when calling textmode() and not already
using integer scaling:
1) Save the previous scaling and if the stars align, just re-use
it instead of trying to recalculate it (a fools errand after
round-tripping through C64 for example).
2) Otherwise, do successive estimations until we're taking steps
of less than 0.00005 in the multiplier, then call it good. This
gets pretty close, but can add or remove a few pixels.
---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net