Re: [hatari-devel] --natfeats on and -c order |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] --natfeats on and -c order
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Fri, 31 Dec 2021 10:26:14 +0000
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1640946378; bh=GuJX3lZayf/mqY5ksGHjBDG6AyulfTqBihcxtj0UV0A=; h=Date:From:To:Subject:From; b=dNShjp1ms+qASHPpMXlVFpUgxRAx+U8QGJCR+OsUNpW7asqfVBryB+rSYqztM/Y+U o7IOYtvriW8P/I3kBJ7C09JGXy0FvHkf2fTbj5GyyOjgnP4Hx8zO3Ni8aahMCqjnRh mZBRrY8FE2vtXf8ZN3+PORBktCi2ByOV3vauS1bQ2vGlkAh0eHFG1gELjQW+b0Tu6F JyrfnqSF4pK1+QLqnWk6wDqKZdq3W+eRDZZYzaqxazKyB3HXG+8f2416ZdnG8UJcWG AQu19FiW9B3DfFVI/JK5q5X76QnS3rLcxuO3djr53Kg7U60MPFv5wB2N/u5OpN/k4i 5u09jy8Xbkzrg==
Am Thu, 30 Dec 2021 22:28:43 +0100
schrieb Miro Kropáček <miro.kropacek@xxxxxxxxx>:
> Hi,
>
> not a critical bug but perhaps still worth fixing: it seems that
> hatari doesn't honour order of command line options equally.
>
> This overrides (disables) natfeats but keeps trace:
>
> hatari --natfeats on --trace os_base -c debug.cfg
>
> while this:
>
> hatari -c debug.cfg --natfeats on --trace os_base
>
> enables both natfeats and trace. Of course, my preferred behaviour
> would be to have natfeats enabled. ;)
Do you have "bNatFeats = FALSE" in your debu.cfg? If so, this is the
expected behaviour: Options are evaluated from left to right, so if you
specify your config file as last option, the values in there override
the ones that you specify earlier.
As for "--trace", I think these values are not saved in the config
files, so for this option, the value does not get overwritten by the
"-c debug.cfg" option.
HTH,
Thomas