Increased the base resistance a little in the Paddle class, to allow

all cards to be selected in game 4 of Casino.  I don't really like the
current implementation of calculating values for Controller pins 5 & 9,
as there are too many 'magic numbers' without any definition.  For now,
it seems to work, but there's no guarantee that another paddle game
won't pop up and invalidate it again.  Perhaps if I find time, this
can be documented much better.

Bumped version number.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1711 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2009-05-02 21:27:32 +00:00
parent 2a9622cc05
commit 8945807515
2 changed files with 5 additions and 5 deletions

View File

@ -13,13 +13,13 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: Version.hxx,v 1.58 2009-05-01 11:25:07 stephena Exp $
// $Id: Version.hxx,v 1.59 2009-05-02 21:27:32 stephena Exp $
//============================================================================
#ifndef VERSION_HXX
#define VERSION_HXX
#define STELLA_BASE_VERSION "2.7.7"
#define STELLA_BASE_VERSION "2.7.8_cvs"
#ifdef NIGHTLY_BUILD
#define STELLA_VERSION STELLA_BASE_VERSION "pre-" NIGHTLY_BUILD

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES.
//
// $Id: Paddles.cxx,v 1.16 2009-01-01 18:13:36 stephena Exp $
// $Id: Paddles.cxx,v 1.17 2009-05-02 21:27:32 stephena Exp $
//============================================================================
#define TRIGMAX 240
@ -299,8 +299,8 @@ void Paddles::update()
}
}
myAnalogPinValue[Five] = (Int32)(1000000 * (myCharge[1] / 255.0));
myAnalogPinValue[Nine] = (Int32)(1000000 * (myCharge[0] / 255.0));
myAnalogPinValue[Five] = (Int32)(1100000 * (myCharge[1] / 255.0));
myAnalogPinValue[Nine] = (Int32)(1100000 * (myCharge[0] / 255.0));
}
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -