summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-02-15 02:55:30 +0100
committer hap <happppp@users.noreply.github.com>2019-02-15 02:58:20 +0100
commit5ac6046197e85bd58575a98bb56ba7c0cdc2531b (patch)
treeb31e567e8c86ada4ef9be29976925f36304f03e8
parent623fc918fe612de471f6053009907e2f2e573bd6 (diff)
video: don't use iter count (nw)
-rw-r--r--src/emu/video.cpp6
-rw-r--r--src/mame/drivers/fidelz80.cpp13
2 files changed, 12 insertions, 7 deletions
diff --git a/src/emu/video.cpp b/src/emu/video.cpp
index 64e918d7011..f967ef78935 100644
--- a/src/emu/video.cpp
+++ b/src/emu/video.cpp
@@ -846,10 +846,14 @@ bool video_manager::finish_screen_updates()
// finish updating the screens
screen_device_iterator iter(machine().root_device());
+ bool has_screen = false;
for (screen_device &screen : iter)
+ {
screen.update_partial(screen.visible_area().max_y);
+ has_screen = true;
+ }
- bool anything_changed = (iter.count() == 0) || m_output_changed;
+ bool anything_changed = !has_screen || m_output_changed;
m_output_changed = false;
// now add the quads for all the screens
diff --git a/src/mame/drivers/fidelz80.cpp b/src/mame/drivers/fidelz80.cpp
index 6b4a8fa07df..9062c5b772f 100644
--- a/src/mame/drivers/fidelz80.cpp
+++ b/src/mame/drivers/fidelz80.cpp
@@ -121,7 +121,7 @@ language switches:
When PB.6 is pulled low, the language switches can be read. There are four.
They connect to the button rows. When enabled, the row(s) will read low if
the jumper is present. English only VCC's do not have the 367 or any pads stuffed.
-The jumpers are labelled: French, German, Spanish, and special.
+The jumpers are labeled: French, German, Spanish, and special.
language latch:
---------------
@@ -142,9 +142,9 @@ determination and give you a language option on power up or something.
******************************************************************************
-Chess Challenger 10 (CC10)
+Chess Challenger 10 (CCX)
-------------------
-4 versions are known to exist: A,B,C,D. Strangely, version C has an 8080
+4 versions are known to exist: A,B,C,D. Strangely, version C(UCC10) has an 8080
instead of Z80. Chess Challenger 1,3 and 7 also run on very similar hardware.
This is an earlier hardware upon which the VCC and UVC above were based on;
@@ -190,6 +190,7 @@ PC.7 - button column D (W)
Chess Challenger 7 (BCC)
------------------------
+model CC7 is an older version
RE information from netlist by Berger
Zilog Z80A, 3.579MHz from XTAL
@@ -1957,7 +1958,7 @@ void fidelz80_state::dsc(machine_config &config)
ROM Definitions
******************************************************************************/
-ROM_START( cc10 )
+ROM_START( cc10 ) // model CCX
ROM_REGION( 0x10000, "maincpu", 0 )
ROM_LOAD( "cn19053n_cc10b", 0x0000, 0x1000, CRC(afd3ca99) SHA1(870d09b2b52ccb8572d69642c59b5215d5fb26ab) ) // 2332
ROM_END
@@ -2153,8 +2154,8 @@ ROM_END
******************************************************************************/
// YEAR NAME PARENT CMP MACHINE INPUT CLASS INIT COMPANY FULLNAME, FLAGS
-CONS( 1978, cc10, 0, 0, cc10, cc10, fidelz80_state, empty_init, "Fidelity Electronics", "Chess Challenger 10 (rev. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
-CONS( 1979, cc7, 0, 0, bcc, bcc, fidelz80_state, empty_init, "Fidelity Electronics", "Chess Challenger 7 (rev. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1978, cc10, 0, 0, cc10, cc10, fidelz80_state, empty_init, "Fidelity Electronics", "Chess Challenger 10 (model CCX, rev. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
+CONS( 1979, cc7, 0, 0, bcc, bcc, fidelz80_state, empty_init, "Fidelity Electronics", "Chess Challenger 7 (model BCC, rev. B)", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK )
CONS( 1979, backgamc, 0, 0, bkc, bkc, fidelz80_state, empty_init, "Fidelity Electronics", "Backgammon Challenger", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_NO_SOUND_HW )
CONS( 1980, fscc8, 0, 0, scc, scc, fidelz80_state, empty_init, "Fidelity Electronics", "Sensory Chess Challenger 8", MACHINE_SUPPORTS_SAVE | MACHINE_CLICKABLE_ARTWORK | MACHINE_IMPERFECT_CONTROLS )