summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2019-02-17 11:56:57 -0500
committer AJR <ajrhacker@users.noreply.github.com>2019-02-17 11:57:33 -0500
commit7d45dcec4efaf1ce3cb16afe7fa5cf885a67fcc4 (patch)
tree769d3d7b111d44d118c4374afd3468170ced150e /src
parent50f045ba741d575a3e558744d744c2df223214ad (diff)
Add spacenum getter for required_/optional_address_space (nw)
Diffstat (limited to 'src')
-rw-r--r--src/emu/devfind.h6
1 files changed, 6 insertions, 0 deletions
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
///