CMD: Isolate allow the CPU-port as a member.

This commit is contained in:
René van Dorst
2026-08-25 07:55:17 +02:00
parent 2ff418f80f
commit e62e0fc8bd
2 changed files with 31 additions and 3 deletions
+2 -2
View File
@@ -816,9 +816,9 @@ void print_reg(uint16_t reg)
// Print the phy port for a log port number.
void print_port(uint8_t port)
{
if (port < 9)
if (port < CPU_PORT)
write_char(machine.log_to_phys_port[port] + '0');
else if (port == 9)
else if (port == CPU_PORT)
print_string("CPU");
else {
print_string("UNKNOWN ");