From de5dfbbea6dfb1ded05beb177d3561a3ed9acf84 Mon Sep 17 00:00:00 2001 From: "SND\\shalma_cp" Date: Fri, 19 Nov 2010 14:03:08 +0000 Subject: 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 --- libpcsxcore/psxmem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libpcsxcore') 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"); -- cgit v1.2.3