From: notaz Date: Mon, 14 Sep 2009 10:41:58 +0000 (+0000) Subject: bugfix X-Git-Tag: v1.85~275 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdd6a009be599f5e49ac97b34ed93d0bb7af137d;p=picodrive.git bugfix git-svn-id: file:///home/notaz/opt/svn/PicoDrive@775 be3aeb3a-fb24-0410-a615-afba39da0efa --- diff --git a/pico/memory.c b/pico/memory.c index 5160df15..6bb79d5a 100644 --- a/pico/memory.c +++ b/pico/memory.c @@ -517,6 +517,7 @@ u32 PicoRead16_io(u32 a) if ((a & 0xffe0) == 0x0000) { // I/O ports d = io_ports_read(a); + d |= d << 8; goto end; }