From f341509a746d65291eaeeca411c1000b208b496c Mon Sep 17 00:00:00 2001 From: David Haywood Date: Mon, 3 Aug 2015 01:26:47 +0100 Subject: [PATCH] this logic (hack?) added in 2010 breaks tempest service mode (boot with service switch turned on, or press fire+zap when prompted in the menu you get when you hit f2 during gameplay) the original change was this "Mathis Rosenhauer fixed mametesters bug 03634. Reduced flickering in Tempest/Quantum. " the diff for that (thanks Tafoid) http://pastebin.com/NXs4UvzW the bug report it was used to fix is http://mametesters.org/view.php?id=3634 I've not backed it out for Quantum, only Tempest, I guess it needs proper review tho. Maybe the flickering actually happened on real hardware sometimes, or wasn't visible due to the nature of the vector generator? --- src/mame/video/avgdvg.c | 4 ++-- src/mame/video/avgdvg.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/video/avgdvg.c b/src/mame/video/avgdvg.c index 1b5d6b3b37b..4363db0e66c 100644 --- a/src/mame/video/avgdvg.c +++ b/src/mame/video/avgdvg.c @@ -670,6 +670,7 @@ int avg_tempest_device::handler_7() // tempest_strobe3 return cycles; } +#if 0 void avg_tempest_device::vggo() // tempest_vggo { m_pc = 0; @@ -682,7 +683,7 @@ void avg_tempest_device::vggo() // tempest_vggo */ nvect = 0; } - +#endif /************************************* * @@ -912,7 +913,6 @@ void avg_quantum_device::vggo() // tempest_vggo nvect = 0; } - int avg_quantum_device::handler_0() // quantum_st2st3 { /* Quantum doesn't decode latch0 or latch2 but ST2 and ST3 are fed diff --git a/src/mame/video/avgdvg.h b/src/mame/video/avgdvg.h index 79f923e7f46..269e7ebc49f 100644 --- a/src/mame/video/avgdvg.h +++ b/src/mame/video/avgdvg.h @@ -189,7 +189,7 @@ public: virtual int handler_6(); virtual int handler_7(); - virtual void vggo(); + //virtual void vggo(); }; // device type definition