docs: Fixed a couple errors in the Technical Specifications. (#9340)

These seemed like copy paste errors in their contexts.
This commit is contained in:
0kmg 2022-02-25 22:56:24 -09:00 committed by GitHub
parent f657eff363
commit cc7a94ac2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)