diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-06-23 06:06:06 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-06-23 06:06:06 +0000 |
| commit | cde5646d0f6b25ebbf57d2315476a95fa764e159 (patch) | |
| tree | 41ee0e53a9770dac75714719c19f5e232c3185f1 | |
| parent | f580496b34d6e7e7681f4df530a6bec1cfc50c9f (diff) | |
| download | pcsxr-cde5646d0f6b25ebbf57d2315476a95fa764e159.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@53302 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | libpcsxcore/sio.c | 6 |
2 files changed, 9 insertions, 1 deletions
@@ -1,3 +1,7 @@ +Jun 23, 2010 Wei Mingzhi <whistler_wmz@users.sf.net> + + * libpcsxcore/sio.c: Convert more ASCII characters to half-width. + Jun 21, 2010 Wei Mingzhi <whistler_wmz@users.sf.net> * 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 = '('; |
