From 36e731fc3c95be29458bcf8d6c4de128d6192ffb Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 20 Feb 2023 23:07:06 +1100 Subject: [PATCH] toaplan/toaplan2.cpp: Made RAM-based text layer graphics and linescroll finders optional. --- src/mame/toaplan/toaplan2.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/mame/toaplan/toaplan2.h b/src/mame/toaplan/toaplan2.h index faca77bcff2..f3b724242f9 100644 --- a/src/mame/toaplan/toaplan2.h +++ b/src/mame/toaplan/toaplan2.h @@ -170,8 +170,9 @@ public: , m_tx_gfxram(*this, "tx_gfxram") , m_dma_space(*this, "dma_space") , m_audiobank(*this, "audiobank") - , m_raizing_okibank{{*this, "raizing_okibank0_%u", 0U}, - {*this, "raizing_okibank1_%u", 0U}} + , m_raizing_okibank{ + { *this, "raizing_okibank0_%u", 0U }, + { *this, "raizing_okibank1_%u", 0U } } , m_eepromout(*this, "EEPROMOUT") { } @@ -197,9 +198,9 @@ protected: private: required_shared_ptr m_tx_videoram; - required_shared_ptr m_tx_lineselect; - required_shared_ptr m_tx_linescroll; - required_shared_ptr m_tx_gfxram; + optional_shared_ptr m_tx_lineselect; + optional_shared_ptr m_tx_linescroll; + optional_shared_ptr m_tx_gfxram; optional_device m_dma_space;