Fixed registers view to only show those entries valid for the

CPU type.
This commit is contained in:
Aaron Giles 2008-12-19 22:34:19 +00:00
parent d2d5def542
commit 63a6f364f8
2 changed files with 3 additions and 0 deletions

View File

@ -459,6 +459,7 @@ CPU_GET_INFO( dummy );
#define CPU_DUMMY CPU_GET_INFO_NAME( dummy )
/***************************************************************************
FUNCTION PROTOTYPES
***************************************************************************/

View File

@ -1268,6 +1268,8 @@ static void registers_view_recompute(debug_view *view)
{
if (regnum >= table->entrycount)
break;
if ((table->entrylist[regnum].validmask & table->subtypemask) == 0)
continue;
regid = table->entrylist[regnum].index;
}
else