mirror of https://github.com/stella-emu/stella.git
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
This commit is contained in:
parent
66690033c4
commit
dd832f2ef4
|
@ -29,10 +29,7 @@
|
||||||
#include "Settings.hxx"
|
#include "Settings.hxx"
|
||||||
#include "System.hxx"
|
#include "System.hxx"
|
||||||
#include "OSystem.hxx"
|
#include "OSystem.hxx"
|
||||||
|
|
||||||
#include "Console.hxx"
|
#include "Console.hxx"
|
||||||
#include "AtariVox.hxx"
|
|
||||||
|
|
||||||
#include "SoundSDL.hxx"
|
#include "SoundSDL.hxx"
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
|
|
@ -376,12 +376,8 @@ const string& CartDebug::getLabel(uInt16 addr, bool isRead, int places) const
|
||||||
uInt16 idx = (addr&0xff) - 0x80;
|
uInt16 idx = (addr&0xff) - 0x80;
|
||||||
if(idx < 24)
|
if(idx < 24)
|
||||||
return result = ourIOMnemonic[idx];
|
return result = ourIOMnemonic[idx];
|
||||||
else
|
|
||||||
{
|
|
||||||
places = 3; // fall through to calculate actual address
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
case ADDR_RAM:
|
case ADDR_RAM:
|
||||||
case ADDR_ROM:
|
case ADDR_ROM:
|
||||||
|
|
Loading…
Reference in New Issue