From 87b4f6f7f3fab2499286f94c98492177454ed7c9 Mon Sep 17 00:00:00 2001 From: urchlay Date: Tue, 16 Aug 2005 19:04:44 +0000 Subject: [PATCH] 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 --- stella/src/debugger/TIADebug.cxx | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/stella/src/debugger/TIADebug.cxx b/stella/src/debugger/TIADebug.cxx index a003af5b2..19be52dba 100644 --- a/stella/src/debugger/TIADebug.cxx +++ b/stella/src/debugger/TIADebug.cxx @@ -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: 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" @@ -412,20 +412,16 @@ uInt8 TIADebug::grP1(int newVal) // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uInt8 TIADebug::posP0(int newVal) { -/* FIXME if(newVal > -1) - mySystem->poke(???, newVal); -*/ + myTIA->myPOSP0 = newVal; return myTIA->myPOSP0; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - uInt8 TIADebug::posP1(int newVal) { -/* FIXME if(newVal > -1) - mySystem->poke(???, newVal); -*/ + myTIA->myPOSP1 = newVal; return myTIA->myPOSP1; }