diff options
| author | 2019-02-17 11:56:57 -0500 | |
|---|---|---|
| committer | 2019-02-17 11:57:33 -0500 | |
| commit | 7d45dcec4efaf1ce3cb16afe7fa5cf885a67fcc4 (patch) | |
| tree | 769d3d7b111d44d118c4374afd3468170ced150e | |
| parent | 50f045ba741d575a3e558744d744c2df223214ad (diff) | |
Add spacenum getter for required_/optional_address_space (nw)
| -rw-r--r-- | src/emu/devfind.h | 6 |
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 /// |
