diff options
| -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 = '('; |
