From 1c92388bfd795cb915f477b78a9fdafca88ed575 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Strohh=C3=A4cker?= Date: Fri, 10 Apr 2009 09:53:04 +0000 Subject: [PATCH] use sensible counter latch value for initialization of timer2 (fixes startrek sf academy demo) Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3340 --- src/hardware/timer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hardware/timer.cpp b/src/hardware/timer.cpp index 4987ffc7..f94e43c2 100644 --- a/src/hardware/timer.cpp +++ b/src/hardware/timer.cpp @@ -16,7 +16,7 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* $Id: timer.cpp,v 1.48 2009-03-28 12:20:52 c2woody Exp $ */ +/* $Id: timer.cpp,v 1.49 2009-04-10 09:53:04 c2woody Exp $ */ #include #include "dosbox.h" @@ -432,7 +432,7 @@ public: pit[1].write_state = 3; pit[1].counterstatus_set = false; - pit[2].read_latch=0; /* MadTv1 */ + pit[2].read_latch=1320; /* MadTv1 */ pit[2].write_state = 3; /* Chuck Yeager */ pit[2].read_state = 3; pit[2].mode=3;