summaryrefslogtreecommitdiff
path: root/libpcsxcore/sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpcsxcore/sio.c')
-rw-r--r--libpcsxcore/sio.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c
index f0655cd9..a31d6ee7 100644
--- a/libpcsxcore/sio.c
+++ b/libpcsxcore/sio.c
@@ -181,8 +181,8 @@ void sioWrite8(unsigned char value) {
{
char xor = 0;
int i;
- for (i=2;i<128+4;i++)
- xor^=buf[i];
+ for (i = 2; i < 128 + 4; i++)
+ xor ^= buf[i];
buf[132] = xor;
}
buf[133] = 0x47;
@@ -721,6 +721,9 @@ void GetMcdBlockInfo(int mcd, int block, McdBlock *Info) {
ptr += 2;
}
+ trim(str);
+ trim(sstr);
+
ptr = data + block * 8192 + 0x60; // icon palette data
for (i = 0; i < 16; i++) {