[PATCH 6/6] Adjust statusbar when linux or netbsd are loaded |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- Subject: [PATCH 6/6] Adjust statusbar when linux or netbsd are loaded
- From: Thorsten Otto <admin@xxxxxxxxxxx>
- Date: Mon, 25 Jul 2022 14:54:11 +0200
---
src/statusbar.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/src/statusbar.c b/src/statusbar.c
index 5c345007..fe66ba5f 100644
--- a/src/statusbar.c
+++ b/src/statusbar.c
@@ -51,6 +51,8 @@ const char Statusbar_fileid[] = "Hatari statusbar.c";
#include "stMemory.h"
#include "blitter.h"
#include "str.h"
+#include "lilo.h"
+#include "netbsd.h"
#define DEBUG 0
#if DEBUG
@@ -631,6 +633,12 @@ void Statusbar_UpdateInfo(void)
{
end = Statusbar_AddString(end, "EmuTOS");
}
+ } else if (bUseLilo)
+ {
+ end = Statusbar_AddString(end, "Linux");
+ } else if (bUseNetbsd)
+ {
+ end = Statusbar_AddString(end, "NetBSD");
}
else
{
--
2.24.0
--nextPart47411014.jKvtMvv4xN
Content-Disposition: attachment; filename="0005-Convert-symbols-from-NetBSD-kernel-to-format-suitabl.patch"
Content-Transfer-Encoding: 7Bit
Content-Type: text/x-patch; charset="UTF-8"; name="0005-Convert-symbols-from-NetBSD-kernel-to-format-suitabl.patch"