trim the spaces. should be safe as the 2nd byte in shiftjis starts from 0x3f
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48569 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
6078055e3e
commit
e594a282ee
2
AUTHORS
2
AUTHORS
|
@ -27,7 +27,7 @@ PCSX-Reloaded Authors/Contributors: avlex (Help on xcode project)
|
|||
maggix (Snow Leopard compile fix)
|
||||
NeToU (Bugfix)
|
||||
Peter Collingbourne (Various core/psxbios fixes)
|
||||
shalma (Various core fixes)
|
||||
shalma (GTE Divider, various core fixes)
|
||||
Tristin Celestin (PulseAudio support)
|
||||
Wei Mingzhi (Maintainer, input plugin, iso/cheat support, misc stuff)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
May 23, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
|
||||
|
||||
* AUTHORS: Updated on request.
|
||||
* gui/AboutDlg.c: Likewise.
|
||||
* AUTHORS: Updated info.
|
||||
* gui/AboutDlg.c: Likewise, and fixed FTBFS on SLED 10.
|
||||
* gui/MemcardDlg.c: Show Japanese titles properly.
|
||||
* libpcsxcore/sio.h: Likewise.
|
||||
* libpcsxcore/sio.c: Likewise.
|
||||
|
|
|
@ -19,6 +19,10 @@
|
|||
#include "Linux.h"
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
#if GTK_MAJOR_VERSION <= 2 && GTK_MINOR_VERSION < 12
|
||||
#define gtk_about_dialog_set_program_name gtk_about_dialog_set_name
|
||||
#endif
|
||||
|
||||
#define ABOUT_VERSION "svn"
|
||||
|
||||
void RunAboutDialog(void) {
|
||||
|
|
|
@ -21,6 +21,8 @@
|
|||
* PSX memory functions.
|
||||
*/
|
||||
|
||||
// TODO: Implement caches & cycle penalty.
|
||||
|
||||
#include "psxmem.h"
|
||||
#include "r3000a.h"
|
||||
#include "psxhw.h"
|
||||
|
|
|
@ -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++) {
|
||||
|
|
Loading…
Reference in New Issue