From 7d45dcec4efaf1ce3cb16afe7fa5cf885a67fcc4 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 17 Feb 2019 11:56:57 -0500 Subject: Add spacenum getter for required_/optional_address_space (nw) --- src/emu/devfind.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/emu/devfind.h b/src/emu/devfind.h index d1bb2ddea53..2428e1a7325 100644 --- a/src/emu/devfind.h +++ b/src/emu/devfind.h @@ -911,6 +911,12 @@ public: /// \param [in] width Data width in bits (0 = don't care). void set_data_width(u8 width) { this->m_data_width = width; } + /// \brief Get space number + /// + /// Returns the configured address space number. + /// \return The space number to be found. + int spacenum() const { return m_spacenum; } + private: /// \brief Find address space /// -- cgit v1.2.3