Slightly changed the fixes.

This commit is contained in:
OBattler
2020-04-17 01:45:24 +02:00
parent f69941a462
commit 44d3eb42de
3 changed files with 8 additions and 4 deletions

View File

@@ -466,7 +466,9 @@ mfm_readw(uint16_t port, void *priv)
if (port > 0x01f0) {
ret = mfm_read(port, priv);
if (port != 0x01f7)
if (port == 0x01f7)
ret |= 0xff00;
else
ret |= (mfm_read(port + 1, priv) << 8);
} else {
ret = mfm->buffer[mfm->pos >> 1];