From cc7a94ac2d2ff56354c6397e9d6c309352dc9ee6 Mon Sep 17 00:00:00 2001 From: 0kmg <9137159+0kmg@users.noreply.github.com> Date: Fri, 25 Feb 2022 22:56:24 -0900 Subject: docs: Fixed a couple errors in the Technical Specifications. (#9340) These seemed like copy paste errors in their contexts. --- docs/source/techspecs/memory.rst | 2 +- docs/source/techspecs/object_finders.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/techspecs/memory.rst b/docs/source/techspecs/memory.rst index 5d18c4e1202..4a2c427fa7c 100644 --- a/docs/source/techspecs/memory.rst +++ b/docs/source/techspecs/memory.rst @@ -197,7 +197,7 @@ that the lookup can be expensive, prefer finders instead. .. code-block:: C++ - class memory_bank { + class memory_region { u8 *base(); u8 *end(); u32 bytes() const; diff --git a/docs/source/techspecs/object_finders.rst b/docs/source/techspecs/object_finders.rst index 2256d74b677..e05146c3167 100644 --- a/docs/source/techspecs/object_finders.rst +++ b/docs/source/techspecs/object_finders.rst @@ -239,7 +239,7 @@ the object finders in the device class (with all distractions removed): } sbus_device(machine_config const &mconfig, char const *tag, device_t *owner, u32 clock) : - device_t(mconfig, type, tag, owner, clock), + device_t(mconfig, SBUS, tag, owner, clock), device_memory_interface(mconfig, *this), m_maincpu(*this, finder_base::DUMMY_TAG), m_type1space(*this, finder_base::DUMMY_TAG, -1) -- cgit v1.2.3