bugfix
[picodrive.git] / pico / memory.c
index 5160df1..6bb79d5 100644 (file)
@@ -517,6 +517,7 @@ u32 PicoRead16_io(u32 a)
 \r
   if ((a & 0xffe0) == 0x0000) { // I/O ports\r
     d = io_ports_read(a);\r
+    d |= d << 8;\r
     goto end;\r
   }\r
 \r