diff options
| author | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-11-19 14:03:08 +0000 |
|---|---|---|
| committer | SND\shalma_cp <SND\shalma_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-11-19 14:03:08 +0000 |
| commit | de5dfbbea6dfb1ded05beb177d3561a3ed9acf84 (patch) | |
| tree | bae99cf367cb924be23999c4e77a0a9bd907f99f | |
| parent | 1047a456f7cc5144360e2db78849f7ea42911817 (diff) | |
| download | pcsxr-de5dfbbea6dfb1ded05beb177d3561a3ed9acf84.tar.gz | |
psxmem.c
- set mem penalty to 1 constant (redo)
- should improve stability
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59790 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | libpcsxcore/psxmem.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libpcsxcore/psxmem.c b/libpcsxcore/psxmem.c index 7ec1c0f5..ba3f8a19 100644 --- a/libpcsxcore/psxmem.c +++ b/libpcsxcore/psxmem.c @@ -144,7 +144,7 @@ u8 psxMemRead8(u32 mem) { u32 t; - psxRegs.cycle += 1; + psxRegs.cycle += 0; t = mem >> 16; @@ -202,7 +202,7 @@ u32 psxMemRead32(u32 mem) { u32 t; - psxRegs.cycle += 2; + psxRegs.cycle += 1; t = mem >> 16; @@ -231,7 +231,7 @@ void psxMemWrite8(u32 mem, u8 value) { u32 t; - psxRegs.cycle += 2; + psxRegs.cycle += 1; t = mem >> 16; @@ -262,7 +262,7 @@ void psxMemWrite16(u32 mem, u16 value) { u32 t; - psxRegs.cycle += 2; + psxRegs.cycle += 1; t = mem >> 16; @@ -293,7 +293,7 @@ void psxMemWrite32(u32 mem, u32 value) { u32 t; - psxRegs.cycle += 2; + psxRegs.cycle += 1; // if ((mem&0x1fffff) == 0x71E18 || value == 0x48088800) SysPrintf("t2fix!!\n"); |
