Made an error when adding Conditional Debugging Option 'K'. Fixed it. Addresses bug 2996334.
This commit is contained in:
parent
092f2a2632
commit
4278ff2b27
|
@ -295,16 +295,16 @@ int evaluate(Condition* c)
|
|||
{
|
||||
switch(c->type1)
|
||||
{
|
||||
case TYPE_ADDR:
|
||||
case TYPE_ADDR: // This is intended to not break, and use the TYPE_NUM code
|
||||
case TYPE_NUM: value1 = c->value1; break;
|
||||
default: value1 = getValue(c->value1);
|
||||
default: value1 = getValue(c->value1); break;
|
||||
}
|
||||
}
|
||||
|
||||
switch(c->type1)
|
||||
{
|
||||
case TYPE_ADDR: value1 = GetMem(value1);
|
||||
case TYPE_BANK: value1 = getBank(_PC);
|
||||
case TYPE_ADDR: value1 = GetMem(value1); break;
|
||||
case TYPE_BANK: value1 = getBank(_PC); break;
|
||||
}
|
||||
|
||||
f = value1;
|
||||
|
@ -319,16 +319,16 @@ int evaluate(Condition* c)
|
|||
{
|
||||
switch(c->type2)
|
||||
{
|
||||
case TYPE_ADDR:
|
||||
case TYPE_ADDR: // This is intended to not break, and use the TYPE_NUM code
|
||||
case TYPE_NUM: value2 = c->value2; break;
|
||||
default: value2 = getValue(c->type2);
|
||||
default: value2 = getValue(c->type2); break;
|
||||
}
|
||||
}
|
||||
|
||||
switch(c->type2)
|
||||
{
|
||||
case TYPE_ADDR: value2 = GetMem(value2);
|
||||
case TYPE_BANK: value2 = getBank(_PC);
|
||||
case TYPE_ADDR: value2 = GetMem(value2); break;
|
||||
case TYPE_BANK: value2 = getBank(_PC); break;
|
||||
}
|
||||
|
||||
switch (c->op)
|
||||
|
|
Loading…
Reference in New Issue