summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-06-23 06:06:06 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-06-23 06:06:06 +0000
commitcde5646d0f6b25ebbf57d2315476a95fa764e159 (patch)
tree41ee0e53a9770dac75714719c19f5e232c3185f1
parentf580496b34d6e7e7681f4df530a6bec1cfc50c9f (diff)
downloadpcsxr-cde5646d0f6b25ebbf57d2315476a95fa764e159.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@53302 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--ChangeLog4
-rw-r--r--libpcsxcore/sio.c6
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e252d441..4bf2dc8f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 = '(';