From cde5646d0f6b25ebbf57d2315476a95fa764e159 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Wed, 23 Jun 2010 06:06:06 +0000 Subject: git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@53302 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- ChangeLog | 4 ++++ libpcsxcore/sio.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index e252d441..4bf2dc8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Jun 23, 2010 Wei Mingzhi + + * libpcsxcore/sio.c: Convert more ASCII characters to half-width. + Jun 21, 2010 Wei Mingzhi * libpcsxcore/psxbios.c: Use a separate flag to identify whether we are diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index ce611648..977c71d1 100644 --- a/libpcsxcore/sio.c +++ b/libpcsxcore/sio.c @@ -66,7 +66,7 @@ static unsigned int padst; char Mcd1Data[MCD_SIZE], Mcd2Data[MCD_SIZE]; // clk cycle byte -// 4us * 8bits = ((PSXCLK / 1000000) * 32) / BIAS; (linuzappz) +// 4us * 8bits = (PSXCLK / 1000000) * 32; (linuzappz) // TODO: add SioModePrescaler and BaudReg static inline void SIO_INT() { if (!Config.Sio) { @@ -702,8 +702,12 @@ void GetMcdBlockInfo(int mcd, int block, McdBlock *Info) { else if (c >= 0x824F && c <= 0x827A) c = (c - 0x824F) + '0'; else if (c == 0x8140) c = ' '; + else if (c == 0x8143) c = ','; else if (c == 0x8144) c = '.'; else if (c == 0x8146) c = ':'; + else if (c == 0x8147) c = ';'; + else if (c == 0x8148) c = '?'; + else if (c == 0x8149) c = '!'; else if (c == 0x815E) c = '/'; else if (c == 0x8168) c = '"'; else if (c == 0x8169) c = '('; -- cgit v1.2.3