From 357098ea6acb39006e958230060f527e29a02a85 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 3 Jul 2022 16:26:10 -0400 Subject: Shuffle some declarations around in core headers --- src/emu/emucore.h | 3 +++ src/emu/emufwd.h | 1 + src/emu/ioport.h | 3 --- src/emu/rendutil.h | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/emu/emucore.h b/src/emu/emucore.h index 8e96e4b3778..41a32dc8ffe 100644 --- a/src/emu/emucore.h +++ b/src/emu/emucore.h @@ -98,6 +98,9 @@ using util::DWORD_XOR_BE; using util::DWORD_XOR_LE; +// input ports support up to 32 bits each +typedef u32 ioport_value; + // pen_t is used to represent pixel values in bitmaps typedef u32 pen_t; diff --git a/src/emu/emufwd.h b/src/emu/emufwd.h index 6d0528015c4..9dde867df54 100644 --- a/src/emu/emufwd.h +++ b/src/emu/emufwd.h @@ -187,6 +187,7 @@ class running_machine; // declared in mconfig.h namespace emu::detail { class machine_config_replace; } +struct internal_layout; class machine_config; // declared in natkeyboard.h diff --git a/src/emu/ioport.h b/src/emu/ioport.h index 76f61debcac..b290da8f794 100644 --- a/src/emu/ioport.h +++ b/src/emu/ioport.h @@ -32,9 +32,6 @@ // CONSTANTS //************************************************************************** -// input ports support up to 32 bits each -typedef u32 ioport_value; - // active high/low values for input ports constexpr ioport_value IP_ACTIVE_HIGH = 0x00000000; constexpr ioport_value IP_ACTIVE_LOW = 0xffffffff; diff --git a/src/emu/rendutil.h b/src/emu/rendutil.h index 1ffcdf41263..de29ed64d2a 100644 --- a/src/emu/rendutil.h +++ b/src/emu/rendutil.h @@ -15,6 +15,8 @@ #include "rendertypes.h" +#include "utilfwd.h" + #include #include #include -- cgit v1.2.3