From dd832f2ef4684f67821d489ab8170791d5149efd Mon Sep 17 00:00:00 2001 From: stephena Date: Fri, 23 Apr 2010 22:05:57 +0000 Subject: [PATCH] Only return a label for IO registers if one has been defined. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2023 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/common/SoundSDL.cxx | 5 +---- src/debugger/CartDebug.cxx | 6 +----- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/common/SoundSDL.cxx b/src/common/SoundSDL.cxx index f4f55a2ca..9e528ec2e 100644 --- a/src/common/SoundSDL.cxx +++ b/src/common/SoundSDL.cxx @@ -29,10 +29,7 @@ #include "Settings.hxx" #include "System.hxx" #include "OSystem.hxx" - #include "Console.hxx" -#include "AtariVox.hxx" - #include "SoundSDL.hxx" // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -132,7 +129,7 @@ void SoundSDL::open() myIsMuted = false; myFragmentSizeLogBase2 = log((double)myHardwareSpec.samples) / log(2.0); - /* + /* cerr << "Freq: " << (int)myHardwareSpec.freq << endl; cerr << "Format: " << (int)myHardwareSpec.format << endl; cerr << "Channels: " << (int)myHardwareSpec.channels << endl; diff --git a/src/debugger/CartDebug.cxx b/src/debugger/CartDebug.cxx index e4010c826..cf1475974 100644 --- a/src/debugger/CartDebug.cxx +++ b/src/debugger/CartDebug.cxx @@ -376,11 +376,7 @@ const string& CartDebug::getLabel(uInt16 addr, bool isRead, int places) const uInt16 idx = (addr&0xff) - 0x80; if(idx < 24) return result = ourIOMnemonic[idx]; - else - { - places = 3; // fall through to calculate actual address - break; - } + break; } case ADDR_RAM: