mirror of
https://github.com/holub/mame
synced 2025-05-24 14:56:21 +03:00
Fixed registers view to only show those entries valid for the
CPU type.
This commit is contained in:
parent
d2d5def542
commit
63a6f364f8
@ -459,6 +459,7 @@ CPU_GET_INFO( dummy );
|
|||||||
#define CPU_DUMMY CPU_GET_INFO_NAME( dummy )
|
#define CPU_DUMMY CPU_GET_INFO_NAME( dummy )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/***************************************************************************
|
/***************************************************************************
|
||||||
FUNCTION PROTOTYPES
|
FUNCTION PROTOTYPES
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
@ -1268,6 +1268,8 @@ static void registers_view_recompute(debug_view *view)
|
|||||||
{
|
{
|
||||||
if (regnum >= table->entrycount)
|
if (regnum >= table->entrycount)
|
||||||
break;
|
break;
|
||||||
|
if ((table->entrylist[regnum].validmask & table->subtypemask) == 0)
|
||||||
|
continue;
|
||||||
regid = table->entrylist[regnum].index;
|
regid = table->entrylist[regnum].index;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user