mirror of
https://github.com/rcornwell/sims.git
synced 2026-01-13 15:27:04 +00:00
SIM_CARD: Fixed typo.
This commit is contained in:
parent
e53e278afc
commit
1fbe806f85
@ -791,7 +791,7 @@ _sim_parse_card(UNIT *uptr, DEVICE *dptr, struct _card_buffer *buf, uint16 (*ima
|
||||
for (col = i = 0; i < 160;) {
|
||||
temp |= (uint16)(buf->buffer[i] & 0xff);
|
||||
(*image)[col] = (buf->buffer[i++] >> 4) & 0xF;
|
||||
(*image)[col++] |= ((uint16)buf->buffer[i++] & 0xf) << 4;
|
||||
(*image)[col++] |= ((uint16)buf->buffer[i++] & 0xff) << 4;
|
||||
}
|
||||
/* Check if format error */
|
||||
if (temp & 0xF)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user