summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author 0kmg <9137159+0kmg@users.noreply.github.com>2022-02-25 22:56:24 -0900
committer GitHub <noreply@github.com>2022-02-26 18:56:24 +1100
commitcc7a94ac2d2ff56354c6397e9d6c309352dc9ee6 (patch)
tree93e8e834d31a20e220ca35ccad2c76108aad3cac
parentf657eff363edd6e514cd09b5f718bdbeba68e94e (diff)
docs: Fixed a couple errors in the Technical Specifications. (#9340)
These seemed like copy paste errors in their contexts.
-rw-r--r--docs/source/techspecs/memory.rst2
-rw-r--r--docs/source/techspecs/object_finders.rst2
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)