DEFMRA option for easier arcade core debugging.

This commit is contained in:
sorgelig
2021-03-26 03:23:59 +08:00
parent abceab97bd
commit 580da28fd3
2 changed files with 29 additions and 11 deletions

View File

@@ -1581,7 +1581,10 @@ void HandleUI(void)
{
int h = 0, d = 0, inpage = !page;
if (!strcmp(p, "DIP"))
if (!strncmp(p, "DEFMRA,", 7))
{
}
else if (!strcmp(p, "DIP"))
{
if (arcade_sw()->dip_num)
{
@@ -1920,7 +1923,7 @@ void HandleUI(void)
d = 0;
inpage = !page;
if (strcmp(p, "DIP"))
if (strcmp(p, "DIP") && strncmp(p, "DEFMRA,", 7))
{
//Hide or Disable flag
while ((p[0] == 'H' || p[0] == 'D' || p[0] == 'h' || p[0] == 'd') && strlen(p) > 2)