From 2be337302a15071ff7183dfdba5078a9bc349e85 Mon Sep 17 00:00:00 2001 From: stephena Date: Thu, 7 Jul 2005 20:51:10 +0000 Subject: [PATCH] Fixed wrong labels on RAM cells in RamWidget. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@617 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- stella/src/gui/RamWidget.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stella/src/gui/RamWidget.cxx b/stella/src/gui/RamWidget.cxx index f5564c894..5a5de1ea7 100644 --- a/stella/src/gui/RamWidget.cxx +++ b/stella/src/gui/RamWidget.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: RamWidget.cxx,v 1.17 2005-07-07 15:19:04 stephena Exp $ +// $Id: RamWidget.cxx,v 1.18 2005-07-07 20:51:10 stephena Exp $ // // Based on code from ScummVM - Scumm Interpreter // Copyright (C) 2002-2004 The ScummVM project @@ -174,7 +174,7 @@ void RamWidget::handleCommand(CommandSender* sender, int cmd, int data, int id) addr = myRamGrid->getSelectedAddr(); value = myRamGrid->getSelectedValue(); - buf = instance()->debugger().equates()->getLabel(addr); + buf = instance()->debugger().equates()->getLabel(addr+kRamStart); if(buf) myLabel->setEditString(buf); else myLabel->setEditString("");