Sanity check on reading NEAT registers.

This commit is contained in:
Miran Grča
2024-04-16 19:34:06 +02:00
committed by GitHub
parent 22441a2302
commit b92995b039

View File

@@ -646,7 +646,8 @@ neat_read(uint16_t port, void *priv)
break;
case 0x23:
ret = dev->regs[dev->indx];
if ((dev->indx >= 0x60) && (dev->indx <= 0x6f))
ret = dev->regs[dev->indx];
break;
default: