aboutsummaryrefslogtreecommitdiff
path: root/rwhandler.c
diff options
context:
space:
mode:
Diffstat (limited to 'rwhandler.c')
-rw-r--r--rwhandler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rwhandler.c b/rwhandler.c
index 1f9b6db4bc..88dfcc5c1a 100644
--- a/rwhandler.c
+++ b/rwhandler.c
@@ -42,7 +42,7 @@ int cpu_register_io_memory_simple(struct ReadWriteHandler *handler)
}
return cpu_register_io_memory(cpu_io_memory_simple_read,
cpu_io_memory_simple_write,
- handler);
+ handler, DEVICE_NATIVE_ENDIAN);
}
RWHANDLER_WRITE(ioport_simple_writeb, 1, uint32_t);