From 6aad49ef5b0f0195cc4688e100c5a8e7eba69b40 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Apr 2026 17:23:57 +0100 Subject: [PATCH 1/4] - moved mg1 implementation in correctly named manufacturer folder --- src/mame/{mg1 => whitechapel}/kbd.cpp | 0 src/mame/{mg1 => whitechapel}/kbd.h | 0 src/mame/{mg1 => whitechapel}/mg1.cpp | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename src/mame/{mg1 => whitechapel}/kbd.cpp (100%) rename src/mame/{mg1 => whitechapel}/kbd.h (100%) rename src/mame/{mg1 => whitechapel}/mg1.cpp (100%) diff --git a/src/mame/mg1/kbd.cpp b/src/mame/whitechapel/kbd.cpp similarity index 100% rename from src/mame/mg1/kbd.cpp rename to src/mame/whitechapel/kbd.cpp diff --git a/src/mame/mg1/kbd.h b/src/mame/whitechapel/kbd.h similarity index 100% rename from src/mame/mg1/kbd.h rename to src/mame/whitechapel/kbd.h diff --git a/src/mame/mg1/mg1.cpp b/src/mame/whitechapel/mg1.cpp similarity index 100% rename from src/mame/mg1/mg1.cpp rename to src/mame/whitechapel/mg1.cpp From 10eec0d9d20f6edb5e79d5d523e2cc09169706b0 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 27 Apr 2026 17:41:49 +0100 Subject: [PATCH 2/4] - include guard needs magic name? --- src/mame/whitechapel/kbd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/whitechapel/kbd.h b/src/mame/whitechapel/kbd.h index 552b253eb8c8e..e98344783186c 100644 --- a/src/mame/whitechapel/kbd.h +++ b/src/mame/whitechapel/kbd.h @@ -1,7 +1,7 @@ // license:BSD-3-Clause // copyright-holders:Patrick Mackinlay -#ifndef MAME_MG1_KBD_H -#define MAME_MG1_KBD_H +#ifndef MAME_WHITECHAPEL_MG1_KBD_H +#define MAME_WHITECHAPEL_MG1_KBD_H #pragma once @@ -36,4 +36,4 @@ class mg1_kbd_device DECLARE_DEVICE_TYPE(MG1_KBD, mg1_kbd_device) -#endif // MAME_MG1_KBD_H +#endif // MAME_WHITECHAPEL_MG1_KBD_H From 82c32c0154a31d92c224306b3de9279920031929 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Apr 2026 09:59:28 +0100 Subject: [PATCH 3/4] - fixing include guard name --- src/mame/whitechapel/kbd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/whitechapel/kbd.h b/src/mame/whitechapel/kbd.h index e98344783186c..116af1ccba6e9 100644 --- a/src/mame/whitechapel/kbd.h +++ b/src/mame/whitechapel/kbd.h @@ -1,7 +1,7 @@ // license:BSD-3-Clause // copyright-holders:Patrick Mackinlay -#ifndef MAME_WHITECHAPEL_MG1_KBD_H -#define MAME_WHITECHAPEL_MG1_KBD_H +#ifndef MAME_WHITECHAPEL_KBD_H +#define MAME_WHITECHAPEL_KBD_H #pragma once @@ -36,4 +36,4 @@ class mg1_kbd_device DECLARE_DEVICE_TYPE(MG1_KBD, mg1_kbd_device) -#endif // MAME_WHITECHAPEL_MG1_KBD_H +#endif // MAME_WHITECHAPEL_KBD_H From 58cc1b149439b8d71d79d018d374795670232472 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Apr 2026 10:19:20 +0100 Subject: [PATCH 4/4] - updated mame.lst - renamed to mg1_kbd.[ch] --- src/mame/mame.lst | 2 +- src/mame/whitechapel/mg1.cpp | 2 +- src/mame/whitechapel/{kbd.cpp => mg1_kbd.cpp} | 2 +- src/mame/whitechapel/{kbd.h => mg1_kbd.h} | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) rename src/mame/whitechapel/{kbd.cpp => mg1_kbd.cpp} (99%) rename src/mame/whitechapel/{kbd.h => mg1_kbd.h} (89%) diff --git a/src/mame/mame.lst b/src/mame/mame.lst index 0c13e741a9bc4..2b8c813b67abe 100644 --- a/src/mame/mame.lst +++ b/src/mame/mame.lst @@ -28435,7 +28435,7 @@ rabbitjt tmmjprd tmpdoki -@source:mg1/mg1.cpp +@source:whitechapel/mg1.cpp mg1 @source:microcraft/dim68k.cpp diff --git a/src/mame/whitechapel/mg1.cpp b/src/mame/whitechapel/mg1.cpp index 26e74e8e98fb9..47d99cf856dc1 100644 --- a/src/mame/whitechapel/mg1.cpp +++ b/src/mame/whitechapel/mg1.cpp @@ -19,7 +19,7 @@ #include "emu.h" -#include "kbd.h" +#include "mg1_kbd.h" #include "bus/rs232/rs232.h" #include "cpu/ns32000/ns32000.h" diff --git a/src/mame/whitechapel/kbd.cpp b/src/mame/whitechapel/mg1_kbd.cpp similarity index 99% rename from src/mame/whitechapel/kbd.cpp rename to src/mame/whitechapel/mg1_kbd.cpp index b3c41da395694..89d9da05a8eec 100644 --- a/src/mame/whitechapel/kbd.cpp +++ b/src/mame/whitechapel/mg1_kbd.cpp @@ -13,7 +13,7 @@ */ #include "emu.h" -#include "kbd.h" +#include "mg1_kbd.h" #define VERBOSE 0 #include "logmacro.h" diff --git a/src/mame/whitechapel/kbd.h b/src/mame/whitechapel/mg1_kbd.h similarity index 89% rename from src/mame/whitechapel/kbd.h rename to src/mame/whitechapel/mg1_kbd.h index 116af1ccba6e9..e98344783186c 100644 --- a/src/mame/whitechapel/kbd.h +++ b/src/mame/whitechapel/mg1_kbd.h @@ -1,7 +1,7 @@ // license:BSD-3-Clause // copyright-holders:Patrick Mackinlay -#ifndef MAME_WHITECHAPEL_KBD_H -#define MAME_WHITECHAPEL_KBD_H +#ifndef MAME_WHITECHAPEL_MG1_KBD_H +#define MAME_WHITECHAPEL_MG1_KBD_H #pragma once @@ -36,4 +36,4 @@ class mg1_kbd_device DECLARE_DEVICE_TYPE(MG1_KBD, mg1_kbd_device) -#endif // MAME_WHITECHAPEL_KBD_H +#endif // MAME_WHITECHAPEL_MG1_KBD_H