[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] [PATCH] Display INIT instead of GEM



Hello.

First of all, happy new year.

When we specify INIT= in mint.cnf, "GEM" is still displayed at startup. This is confusing.

The attached patch fixes this problem. Please commit.

init.patch
Display INIT instead of GEM when INIT is specified in mint.cnf. Contributed by Vincent Riviere.

--
Vincent Rivière
--- freemint.orig/sys/cnf_mint.c	2012-12-23 21:25:34.015625000 +0100
+++ freemint/sys/cnf_mint.c	2013-01-01 18:30:48.312500000 +0100
@@ -441,7 +441,7 @@
 {
 	init_is_gem = val;
 
-	boot_printf("GEM '%s' '%s'\r\n", path, line);
+	boot_printf("%s '%s' '%s'\r\n", init_is_gem ? "GEM" : "INIT", path, line);
 	if (stricmp(path,"ROM") == 0)
 	{
 		init_prg = 0;