summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mil4000.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mil4000.cpp')
-rw-r--r--src/mame/drivers/mil4000.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mame/drivers/mil4000.cpp b/src/mame/drivers/mil4000.cpp
index 93db37c1e1e..c0335a32821 100644
--- a/src/mame/drivers/mil4000.cpp
+++ b/src/mame/drivers/mil4000.cpp
@@ -119,6 +119,8 @@
#include "mil4000.lh"
+namespace {
+
#define MAIN_CLOCK XTAL(12'000'000)
#define SEC_CLOCK XTAL(14'318'181)
@@ -256,6 +258,9 @@ void mil4000_state::video_start()
save_item(NAME(m_vblank));
save_item(NAME(m_hblank));
+
+ m_vblank = 0;
+ m_hblank = 0;
}
uint32_t mil4000_state::screen_update(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect)
@@ -771,6 +776,8 @@ ROM_START( chewheel )
ROM_LOAD( "chewheel_nvram.bin", 0x0000, 0x4000, CRC(af73a270) SHA1(3e3e2c0a629bf506830b34d4c5a45ddbece618c3) )
ROM_END
+} // Anonymous namespace
+
// YEAR NAME PARENT MACHINE INPUT STATE INIT ROT COMPANY FULLNAME FLAGS LAYOUT
GAMEL( 2000, mil4000, 0, mil4000, mil4000, mil4000_state, empty_init, ROT0, "Sure Milano", "Millennium Nuovo 4000 (Version 2.0)", 0, layout_mil4000 )