Re: [hatari-devel] Re: [hatari-users] Open Hatari in big window |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Re: [hatari-users] Open Hatari in big window
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Mon, 2 Mar 2020 15:14:50 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1583158492; bh=ojw+OmkdEkWcfgORG5T7fczk1Jh7VMzFgJhu+kIrLhk=; h=Date:From:To:Subject:From; b=UCZbUQyqB2UkzdTQePow12D5PWqMnwxat2Xs0WuzzSa7xELX3Gg3YyJ4X4ghvDsTu e2obQndc6BZLId7CqNmdEzzS27JqhGWgP1P3eDtMGiXFeEmK7DM4JDGGqRTob5/m66 3FvofD1cU0p3I40k7hWQqlNzAyRkAxPwLzvPFBoC2WsU8qmNdnMcwcf9aiht2RHSEB 6s9q94Pur1Jk0N2QZ9kPmvWbiiQnscTBGvMA5UtCq/+sx//GZOBTQOQPoctPEYgtqM ajS1/jJnAVeBUrMd56wGZXFEwVXGAqHHpi/qryUIXy8VXWxwDJEup2nbSwVGn8uzQN X+vyV6jGw9Jwg==
Am Mon, 2 Mar 2020 00:26:06 +0200
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Hi,
>
> On 2/27/20 1:08 AM, Eero Tamminen wrote:
> > On 2/26/20 12:51 AM, Vincent Rivière wrote:
> >> On 23/02/2020 at 21:49, Eero Tamminen wrote:
> >>> Either "-z 2" or "--zoom 2".
> >>
> >> -z 2 seems to be the default, because when I use it the result is
> >> the same.
> >> On the other hand, -z 1 reduces the window.
> >>
> >> I would like to get the biggest window with integer zoom ratio.
> >> Unfortunately, -z 3 does nothing.
> >
> > Try the attached patch. Code supports floating
> > point scaling factors, but command line option
> > currently only integer ones.
>
> Vincent, does the patch do what you want?
>
>
> Thomas, do you have any comments about the patch?
Looks reasonable to me at a first glance. Do we also want to support
floating point values for the -z parameter, too? In that case, you also
have to replace the "atoi()" there.
Thomas