minor fixes

This commit is contained in:
thrust26 2023-06-14 09:51:37 +02:00
parent e06ca50b13
commit cd59144999
2 changed files with 6 additions and 6 deletions

View File

@ -1333,13 +1333,13 @@ string CartDebug::saveDisassembly(string path)
out << "\n";
out << ALIGN(16) << ourZPMnemonic[addr - 0x80] << "= $"
<< Base::HEX2 << right << (addr)
<< ((stackUsed|codeUsed) ? "; (" : "")
<< ((stackUsed || codeUsed) ? "; (" : "")
<< (codeUsed ? "c" : "")
<< (stackUsed ? "s" : "")
<< ((stackUsed | codeUsed) ? ")" : "")
<< ((stackUsed || codeUsed) ? ")" : "")
<< "\n";
addLine = false;
} else if (ramUsed|codeUsed|stackUsed) {
} else if (ramUsed || codeUsed || stackUsed) {
if (addLine)
out << "\n";
out << ALIGN(18) << ";" << "$"