diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-07 04:31:29 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-07 04:31:29 +0000 |
| commit | 2d5a9a02425951f4efed764d135be96867eb532f (patch) | |
| tree | d94be7649ef8ccb627df551ac69f5d4a6a941cb6 /libpcsxcore/ix86_64 | |
| parent | 6a4fd490f8c754883bee9468be8d35dc7a651cee (diff) | |
preparing for refactor/cleanup, moved all definations into .c files, other minor cleanups. (Breaks Mac OS X and maybe windows as well for now, will fix later.)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47542 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'libpcsxcore/ix86_64')
| -rw-r--r-- | libpcsxcore/ix86_64/iR3000A-64.c | 8 | ||||
| -rw-r--r-- | libpcsxcore/ix86_64/ix86-64.c | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libpcsxcore/ix86_64/iR3000A-64.c b/libpcsxcore/ix86_64/iR3000A-64.c index 399ec09f..babec3f1 100644 --- a/libpcsxcore/ix86_64/iR3000A-64.c +++ b/libpcsxcore/ix86_64/iR3000A-64.c @@ -33,16 +33,16 @@ uptr* psxRecLUT; -#define PTRMULT (sizeof(uptr)/sizeof(u32)) +#define PTRMULT (sizeof(uptr) / sizeof(u32)) #undef PC_REC #undef PC_REC8 #undef PC_REC16 #undef PC_REC32 -#define PC_REC(x) (psxRecLUT[(x) >> 16] + PTRMULT*((x) & 0xffff)) -#define PC_RECP(x) (*(uptr*)PC_REC(x)) +#define PC_REC(x) (psxRecLUT[(x) >> 16] + PTRMULT * ((x) & 0xffff)) +#define PC_RECP(x) (*(uptr *)PC_REC(x)) -#define RECMEM_SIZE (PTRMULT*8*1024*1024) +#define RECMEM_SIZE (PTRMULT * 8 * 1024 * 1024) static char *recMem; /* the recompiled blocks will be here */ static char *recRAM; /* and the ptr to the blocks here */ diff --git a/libpcsxcore/ix86_64/ix86-64.c b/libpcsxcore/ix86_64/ix86-64.c index a4399ab5..0582f351 100644 --- a/libpcsxcore/ix86_64/ix86-64.c +++ b/libpcsxcore/ix86_64/ix86-64.c @@ -46,8 +46,6 @@ s8 *x86Ptr; u8 *j8Ptr[32]; u32 *j32Ptr[32]; -extern void SysPrintf(char *fmt, ...); - void WriteRmOffset(x86IntRegType to, int offset) { if( (to&7) == ESP ) { |
