summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-06-30 15:02:58 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-06-30 15:02:58 +0000
commitb62a83071df627179761ec75b6a3a9598de2008f (patch)
tree72e6df3523970fbbde70e79c7b79950ac8853172
parente9e3b118c37eca294d274739f20db783ba5bf7ee (diff)
downloadpcsxr-b62a83071df627179761ec75b6a3a9598de2008f.tar.gz
use s32 instead of long in DIRENTRY struct
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23858 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--ChangeLog5
-rw-r--r--libpcsxcore/psxbios.c14
2 files changed, 12 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 0a623e60..8ebea621 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+July 1, 2009 Wei Mingzhi <weimingzhi@gmail.com>
+
+ * libpcsxcore/psxbios.c: Use s32 instead of long in DIRENTRY struct for
+ compatibility with x86_64.
+
June 30, 2009 Peter Collingbourne <peter@pcc.me.uk>
* libpcsxcore/psxbios.c: Implemented psxBios_rename(). Interpret a file
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c
index 5d1ba48c..16f23e7a 100644
--- a/libpcsxcore/psxbios.c
+++ b/libpcsxcore/psxbios.c
@@ -193,10 +193,10 @@ typedef struct {
/*
typedef struct {
- long next;
- long func1;
- long func2;
- long pad;
+ s32 next;
+ s32 func1;
+ s32 func2;
+ s32 pad;
} SysRPst;
*/
@@ -223,10 +223,10 @@ typedef struct {
struct DIRENTRY {
char name[20];
- long attr;
- long size;
+ s32 attr;
+ s32 size;
struct DIRENTRY *next;
- long head;
+ s32 head;
char system[4];
};