summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2022-07-03 16:26:10 -0400
committer AJR <ajrhacker@users.noreply.github.com>2022-07-03 16:26:10 -0400
commit357098ea6acb39006e958230060f527e29a02a85 (patch)
tree4aa81b0635cdf701bdd759778b1e544923e400a2 /src
parentf0bcb0c5fe9de645a4996b427b0006fde5495584 (diff)
Shuffle some declarations around in core headers
Diffstat (limited to 'src')
-rw-r--r--src/emu/emucore.h3
-rw-r--r--src/emu/emufwd.h1
-rw-r--r--src/emu/ioport.h3
-rw-r--r--src/emu/rendutil.h2
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 <algorithm>
#include <cmath>
#include <utility>