1
0
Fork 0

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
This commit is contained in:
Sebastian Strohhäcker 2009-04-10 09:53:04 +00:00
parent d20566a44e
commit 1c92388bfd

View file

@ -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 <math.h>
#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;