summaryrefslogtreecommitdiff
path: root/libpcsxcore/sio.h
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-23 02:46:22 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-23 02:46:22 +0000
commit7c4427cb435c50b2772d69521b34c4979a950ea8 (patch)
tree52c0e0fc9623660319910d224cdd5fccbea519b4 /libpcsxcore/sio.h
parente5644f52a124e136027a0bc4c2359579b3ded432 (diff)
show japanese titles properly in memcard manager
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48556 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/sio.h')
-rw-r--r--libpcsxcore/sio.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/sio.h b/libpcsxcore/sio.h
index 8e4476c0..cc8d925b 100644
--- a/libpcsxcore/sio.h
+++ b/libpcsxcore/sio.h
@@ -59,12 +59,12 @@ void CreateMcd(char *mcd);
void ConvertMcd(char *mcd, char *data);
typedef struct {
- char Title[48];
- short sTitle[48];
- char ID[14];
- char Name[16];
+ char Title[48 + 1]; // Title in ASCII
+ char sTitle[48 * 2 + 1]; // Title in Shift-JIS
+ char ID[12 + 1];
+ char Name[16 + 1];
int IconCount;
- short Icon[16*16*3];
+ short Icon[16 * 16 * 3];
unsigned char Flags;
} McdBlock;