From c2c3d685f0229e31be4348d18c8b4fd22d890417 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 5 Oct 2021 07:26:46 +1100 Subject: More low-effort cleanup. * Got more slot card classes out of headers. * Changed most of the Apple II cards still looking up ROM regions manually to use required_region_ptr. * Removed an unreferenced function leftover from copy-pasting another device from the Videx Uniprint device. --- src/mame/machine/octo_kbd.h | 3 ++- src/mame/machine/x68k_kbd.h | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'src/mame/machine') diff --git a/src/mame/machine/octo_kbd.h b/src/mame/machine/octo_kbd.h index f6d4dd49f23..430167cc597 100644 --- a/src/mame/machine/octo_kbd.h +++ b/src/mame/machine/octo_kbd.h @@ -5,7 +5,8 @@ #pragma once -#include "bus/rs232/keyboard.h" +#include "bus/rs232/rs232.h" +#include "machine/keyboard.h" class octopus_keyboard_device : public buffered_rs232_device<16U>, protected device_matrix_keyboard_interface<16U> { diff --git a/src/mame/machine/x68k_kbd.h b/src/mame/machine/x68k_kbd.h index e0c610462c0..58f6c57afa3 100644 --- a/src/mame/machine/x68k_kbd.h +++ b/src/mame/machine/x68k_kbd.h @@ -3,7 +3,11 @@ #ifndef MAME_MACHINE_X68K_KBD_H #define MAME_MACHINE_X68K_KBD_H -#include "bus/rs232/keyboard.h" +#pragma once + +#include "bus/rs232/rs232.h" +#include "machine/keyboard.h" + class x68k_keyboard_device : public buffered_rs232_device<16U>, protected device_matrix_keyboard_interface<15U> { -- cgit v1.2.3