Fixed return values of nusiz0(), nusiz1()

Made posP0(), posP1() writable. This may be the wrong way to do it...


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@721 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
urchlay 2005-08-16 19:04:44 +00:00
parent e0bdb3512f
commit 87b4f6f7f3
1 changed files with 3 additions and 7 deletions

View File

@ -13,7 +13,7 @@
// See the file "license" for information on usage and redistribution of // See the file "license" for information on usage and redistribution of
// this file, and for a DISCLAIMER OF ALL WARRANTIES. // this file, and for a DISCLAIMER OF ALL WARRANTIES.
// //
// $Id: TIADebug.cxx,v 1.18 2005-08-16 18:34:12 stephena Exp $ // $Id: TIADebug.cxx,v 1.19 2005-08-16 19:04:44 urchlay Exp $
//============================================================================ //============================================================================
#include "System.hxx" #include "System.hxx"
@ -412,20 +412,16 @@ uInt8 TIADebug::grP1(int newVal)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt8 TIADebug::posP0(int newVal) uInt8 TIADebug::posP0(int newVal)
{ {
/* FIXME
if(newVal > -1) if(newVal > -1)
mySystem->poke(???, newVal); myTIA->myPOSP0 = newVal;
*/
return myTIA->myPOSP0; return myTIA->myPOSP0;
} }
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
uInt8 TIADebug::posP1(int newVal) uInt8 TIADebug::posP1(int newVal)
{ {
/* FIXME
if(newVal > -1) if(newVal > -1)
mySystem->poke(???, newVal); myTIA->myPOSP1 = newVal;
*/
return myTIA->myPOSP1; return myTIA->myPOSP1;
} }