diff options
author | Vas Crabb <vas@vastheman.com> | 2021-12-05 00:42:48 +1100 |
---|---|---|
committer | Vas Crabb <vas@vastheman.com> | 2021-12-05 00:42:48 +1100 |
commit | 5258f034097f7801606a77a9a4debe9828077fc7 (patch) | |
tree | 778f1af548961f7c8bb064d92bc3479b6e08d680 /src/mame/machine | |
parent | a63e82c5d7a0471f5e31c823641966c23a458339 (diff) |
-frontend: Give heading items in menus a bit of horizontal space.
-emu/machine.cpp: Got rid of an outdated and hence misleading comment.
-Got rid of a few more uses of UNUSED_FUNCTION.
-Tidied up more slot machine layouts, and fixed VFDs in debug views that
had inadvertently been broken.
Diffstat (limited to 'src/mame/machine')
-rw-r--r-- | src/mame/machine/badlands.cpp | 4 | ||||
-rw-r--r-- | src/mame/machine/dgn_beta.cpp | 26 |
2 files changed, 14 insertions, 16 deletions
diff --git a/src/mame/machine/badlands.cpp b/src/mame/machine/badlands.cpp index 1c3cb2c070c..b4c8d4f327b 100644 --- a/src/mame/machine/badlands.cpp +++ b/src/mame/machine/badlands.cpp @@ -24,8 +24,7 @@ *************************************/ // TODO: doesn't link? -#ifdef UNUSED_FUNCTION -const gfx_layout badlands_molayout = +[[maybe_unused]] static const gfx_layout badlands_molayout = { 16,8, RGN_FRAC(1,1), @@ -35,7 +34,6 @@ const gfx_layout badlands_molayout = { 0*8, 8*8, 16*8, 24*8, 32*8, 40*8, 48*8, 56*8 }, 64*8 }; -#endif /************************************* * diff --git a/src/mame/machine/dgn_beta.cpp b/src/mame/machine/dgn_beta.cpp index d8e1026f39b..05066fab936 100644 --- a/src/mame/machine/dgn_beta.cpp +++ b/src/mame/machine/dgn_beta.cpp @@ -748,20 +748,20 @@ void dgn_beta_state::dgn_beta_frame_interrupt (int data) ScanInKeyboard(); } -#ifdef UNUSED_FUNCTION -void dgn_beta_state::dgn_beta_line_interrupt (int data) -{ -// /* Set PIA line, so it recognises interrupt */ -// if (data) -// { -// m_pia_0->cb1_w(ASSERT_LINE); -// } -// else -// { -// m_pia_0->cb1_w(CLEAR_LINE); -// } -} +void dgn_beta_state::dgn_beta_line_interrupt(int data) +{ +#if 0 + /* Set PIA line, so it recognises interrupt */ + if (data) + { + m_pia_0->cb1_w(ASSERT_LINE); + } + else + { + m_pia_0->cb1_w(CLEAR_LINE); + } #endif +} /********************************* Machine/Driver Initialization ****************************************/ |