X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fjerry.cpp;h=3237d7bd16ca461492a090788725cf89b789dcc4;hb=c436dad60e34fb9da720a89db917eb4cf4e3a624;hp=9ff7ac6af141faeb92409025c5193051aa9ec8ee;hpb=94d59c2c8c14b9ac51dffd117ec507418b4d0881;p=virtualjaguar diff --git a/src/jerry.cpp b/src/jerry.cpp index 9ff7ac6..3237d7b 100644 --- a/src/jerry.cpp +++ b/src/jerry.cpp @@ -435,7 +435,8 @@ WriteLog("JERRY: Unhandled timer read (BYTE) at %08X...\n", offset); // else if (offset >= 0xF17C00 && offset <= 0xF17C01) // return anajoy_byte_read(offset); else if (offset >= 0xF14000 && offset <= 0xF14003) - return JoystickReadByte(offset) | EepromReadByte(offset); +// return JoystickReadByte(offset) | EepromReadByte(offset); + return JoystickReadWord(offset & 0xFE) | EepromReadByte(offset); else if (offset >= 0xF14000 && offset <= 0xF1A0FF) return EepromReadByte(offset); @@ -568,7 +569,8 @@ WriteLog("JERRY: Unhandled timer write (BYTE) at %08X...\n", offset); }*/ else if ((offset >= 0xF14000) && (offset <= 0xF14003)) { - JoystickWriteByte(offset, data); +// JoystickWriteByte(offset, data); + JoystickWriteWord(offset & 0xFE, (uint16_t)data); EepromWriteByte(offset, data); return; }