From 36e731fc3c95be29458bcf8d6c4de128d6192ffb Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 20 Feb 2023 23:07:06 +1100 Subject: 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; -- cgit v1.2.3 From f6d933f01579b3293a00722cd96f3549e34b3a53 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 21 Feb 2023 00:54:14 +1100 Subject: sgi_mips.xml: Explicitly mark demos requiring Onyx2 as unsupported. --- hash/sgi_mips.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/hash/sgi_mips.xml b/hash/sgi_mips.xml index e5d10822239..5efe3cc3b14 100644 --- a/hash/sgi_mips.xml +++ b/hash/sgi_mips.xml @@ -1444,7 +1444,8 @@ license:CC0-1.0 - + + Onyx2 - As Real As it Gets Demo CD - Volume 1 1998 Silicon Graphics @@ -1457,7 +1458,8 @@ license:CC0-1.0 - + + Onyx2 - As Real As it Gets Demo CD - Volume 2 1998 Silicon Graphics @@ -1470,7 +1472,8 @@ license:CC0-1.0 - + + Onyx2 - As Real As it Gets Demo CD - Volume 3 1998 Silicon Graphics -- cgit v1.2.3 From a08c8fd5e542617f32bfab8e6d60401532ed9f09 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 21 Feb 2023 01:04:41 +1100 Subject: chessking_cart.xml: Use better short name for cartridge, too. --- hash/chessking_cart.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash/chessking_cart.xml b/hash/chessking_cart.xml index 7fe42cdf2e6..66012857d62 100644 --- a/hash/chessking_cart.xml +++ b/hash/chessking_cart.xml @@ -5,7 +5,7 @@ license:CC0-1.0 --> - + Yīnghàn Zìdiǎn Dictionary 1994 I-Star Co., Ltd. -- cgit v1.2.3 From b72a80196b06750fed09789d6f733423beb1f1d6 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Tue, 21 Feb 2023 04:49:32 +1100 Subject: apple/apple2video.cpp: Use real fall-through attribute. --- src/mame/apple/apple2video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/apple/apple2video.cpp b/src/mame/apple/apple2video.cpp index 9f01047ee74..28b1d3b28be 100644 --- a/src/mame/apple/apple2video.cpp +++ b/src/mame/apple/apple2video.cpp @@ -314,7 +314,7 @@ void a2_video_device::render_line(uint16_t *out, uint16_t const *in, int startco { default: color_mode = 0; - // fall through + [[fallthrough]]; case 0: case 1: // Pixel-run coloring render_line_artifact_color(out, in, startcol, stopcol, is_80_column, artifact_color_lut[color_mode]); -- cgit v1.2.3