Re: [hatari-devel] Fix display of Atari logo with extended VDI resolutions

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Fri, 18 Nov 2016 00:16:53 +0100
schrieb Thorsten Otto <admin@xxxxxxxxxxx>:

> Another suggested patch: this one will choose the default font
> depending on the choosen VDI height. The VDIs choice is purely based
> on Getrez() which might choose the 8x8 font even for large
> resolutions... does not look very good.

Nice hack ... but could you maybe add some more comments? E.g. what's
at address fontadr + 66?
Also please keep the check for cel_ht <= 0. The check was there on
purpose: Otherwise an Atari program might crash Hatari with a
division-by-zero exception. Please also add a check for cel_wd <= 0 for
the same reason.

 Thanks,
  Thomas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/