summaryrefslogtreecommitdiffstats
path: root/interf.c
diff options
context:
space:
mode:
Diffstat (limited to 'interf.c')
-rw-r--r--interf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/interf.c b/interf.c
index 8a35db9..672388c 100644
--- a/interf.c
+++ b/interf.c
@@ -88,7 +88,7 @@ sim_write (uint32 mem, const char *buf, int length)
for (i = 0; i < length; i++)
{
- ms->sis_memory_write ((mem + i) ^ arch->endian, &buf[i], 1);
+ ms->sis_memory_write ((mem + i) ^ arch->bswap, &buf[i], 1);
}
return length;
}
@@ -105,7 +105,7 @@ sim_read (uint32 mem, char *buf, int length)
}
for (i = 0; i < length; i++)
{
- ms->sis_memory_read ((mem + i) ^ arch->endian, &buf[i], 1);
+ ms->sis_memory_read ((mem + i) ^ arch->bswap, &buf[i], 1);
}
return length;
}