From 715767978b76aa07bfc1b67ecfa0d36b9283ad5e Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Sat, 7 Nov 2020 08:47:34 +1100 Subject: [PATCH] Fix build - video/decodmd3.h had got out of sync with the source. --- src/mame/drivers/tomcat.cpp | 3 +++ src/mame/video/avgdvg.cpp | 2 +- src/mame/video/decodmd3.h | 3 +-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/mame/drivers/tomcat.cpp b/src/mame/drivers/tomcat.cpp index aa1219cc8dd..dd2cb50d4f3 100644 --- a/src/mame/drivers/tomcat.cpp +++ b/src/mame/drivers/tomcat.cpp @@ -43,6 +43,7 @@ #include "speaker.h" +namespace { class tomcat_state : public driver_device { @@ -395,4 +396,6 @@ ROM_START( tomcat ) ROM_LOAD( "136021-105.1l", 0x0000, 0x0100, CRC(82fc3eb2) SHA1(184231c7baef598294860a7d2b8a23798c5c7da6) ) /* AVG PROM */ ROM_END +} // anonymous namespace + GAME( 1985, tomcat, 0, tomcat, tomcat, tomcat_state, empty_init, ROT0, "Atari", "TomCat (prototype)", MACHINE_SUPPORTS_SAVE ) diff --git a/src/mame/video/avgdvg.cpp b/src/mame/video/avgdvg.cpp index 7b138d1f25f..4d554c8a863 100644 --- a/src/mame/video/avgdvg.cpp +++ b/src/mame/video/avgdvg.cpp @@ -754,7 +754,7 @@ void avg_tempest_device::vggo() // tempest_vggo int avg_mhavoc_device::handler_1() // mhavoc_latch1 { - // * Major Havoc just has ymin clipping + // Major Havoc just has ymin clipping if (!m_lst) vg_add_clip(0, m_ypos, m_xmax << 16, m_ymax << 16); diff --git a/src/mame/video/decodmd3.h b/src/mame/video/decodmd3.h index 282ddd26087..a47c6b99428 100644 --- a/src/mame/video/decodmd3.h +++ b/src/mame/video/decodmd3.h @@ -43,9 +43,8 @@ protected: private: required_device m_cpu; required_device m_mc6845; - required_shared_ptr m_ram; - required_memory_bank m_rambank; required_memory_bank m_rombank; + required_shared_ptr m_ram; required_region_ptr m_rom;