summaryrefslogtreecommitdiff
path: root/libpcsxcore
diff options
context:
space:
mode:
authorSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-10-12 16:15:44 +0000
committerSND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-10-12 16:15:44 +0000
commit670355c885ba609d8598158be00c921709075d2b (patch)
tree81448ceb623c2898ba44f808d1fa9cf946fe1ce4 /libpcsxcore
parent4a5cd93bcf8c9b9bb53a5ce1e4c9979daec91808 (diff)
downloadpcsxr-670355c885ba609d8598158be00c921709075d2b.tar.gz
Joypad: sio.c
- revert to faster SIO cycles for now (breaks too many games with BaudReg * 8 - need to find out why) - Rhapsody should still work though git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@58345 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore')
-rw-r--r--libpcsxcore/sio.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c
index 3857d909..88e72797 100644
--- a/libpcsxcore/sio.c
+++ b/libpcsxcore/sio.c
@@ -94,13 +94,21 @@ static int DongleInit;
}
-#define SIO_CYCLES (BaudReg * 8)
-
+//#define SIO_CYCLES (BaudReg * 8)
// clk cycle byte
// 4us * 8bits = (PSXCLK / 1000000) * 32; (linuzappz)
// TODO: add SioModePrescaler and BaudReg
+// rely on this for now - someone's actual testing
+#define SIO_CYCLES (PSXCLK / 57600)
+
+//PCSX 1.9.91
+//#define SIO_CYCLES 200
+
+//PCSX 1.9.91
+//#define SIO_CYCLES 270
+
// ePSXe 1.6.0
//#define SIO_CYCLES 535