summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/eolith16.cpp
diff options
context:
space:
mode:
author Olivier Galibert <galibert@pobox.com>2020-11-06 19:06:24 +0100
committer Olivier Galibert <galibert@pobox.com>2020-11-06 19:20:42 +0100
commit684289d674a91d518c277db4995c31d5e57559d5 (patch)
tree7162bb258df24d095e31e7d62892d8c7ebc675ec /src/mame/drivers/eolith16.cpp
parentcba93eb87982909f155729dcf539f042c81e779f (diff)
Fix d, e
Diffstat (limited to 'src/mame/drivers/eolith16.cpp')
-rw-r--r--src/mame/drivers/eolith16.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/eolith16.cpp b/src/mame/drivers/eolith16.cpp
index a857294be28..070a79ccad3 100644
--- a/src/mame/drivers/eolith16.cpp
+++ b/src/mame/drivers/eolith16.cpp
@@ -28,7 +28,7 @@ public:
eolith16_state(const machine_config &mconfig, device_type type, const char *tag)
: eolith_state(mconfig, type, tag)
, m_special_io(*this, "SPECIAL")
- , m_vram(*this, "vram")
+ , m_vram(*this, "vram", 0x20000, ENDIANNESS_BIG)
, m_vrambank(*this, "vrambank")
{
}
@@ -42,7 +42,7 @@ protected:
private:
required_ioport m_special_io;
- required_shared_ptr<uint8_t> m_vram;
+ memory_share_creator<uint8_t> m_vram;
required_memory_bank m_vrambank;
void eeprom_w(uint16_t data);
@@ -75,7 +75,7 @@ uint16_t eolith16_state::eolith16_custom_r()
void eolith16_state::eolith16_map(address_map &map)
{
map(0x00000000, 0x001fffff).ram();
- map(0x50000000, 0x5000ffff).bankrw("vrambank").share("vram");
+ map(0x50000000, 0x5000ffff).bankrw("vrambank");
map(0x90000000, 0x9000002f).nopw(); //?
map(0xff000000, 0xff1fffff).rom().region("maindata", 0);
map(0xffe40001, 0xffe40001).rw("oki", FUNC(okim6295_device::read), FUNC(okim6295_device::write));