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 )
|
||||
|
||||
|
||||
|
||||
/***************************************************************************
|
||||
FUNCTION PROTOTYPES
|
||||
***************************************************************************/
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user