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:
parent
d20566a44e
commit
1c92388bfd
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue