Re: [hatari-devel] "--fpu" option regression?

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


Le 04/06/2022 à 18:51, Eero Tamminen a écrit :
Hi,

With Hatari default configuration (no FPU), when I use:
     hatari --machine falcon --fpu 68882

With Hatari v2.3.1 I get Falcon with an FPU.

With latest Hatari Git, FPU is missing. I need to add it from SDL GUI + reboot, to get it enabled.

Do others see this regression too?

See this commit :

Support "off" as alias to "none" for CLI options

 		case OPT_FPU_TYPE:
 			i += 1;
-			if (strcasecmp(argv[i], "none") == 0)
+			if (strcasecmp(argv[i], "none") || strcasecmp(argv[i], "off") == 0)

-> you forgot "== 0" for the "none" case, so fpu becomes always off at start.




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