From 9c1618b2d075b917254f0a76b744708398053bbf Mon Sep 17 00:00:00 2001 From: "gregory.hainaut@gmail.com" Date: Thu, 30 Sep 2010 18:51:00 +0000 Subject: [PATCH] GregMiscellaneous: zzogl-pg: * Fix a long copy/past error in hostmemory git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3863 96395faa-99c1-11dd-bbfe-3dabce05a288 --- plugins/zzogl-pg/opengl/HostMemory.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/plugins/zzogl-pg/opengl/HostMemory.cpp b/plugins/zzogl-pg/opengl/HostMemory.cpp index 419ad6ed8d..918ce1ee04 100644 --- a/plugins/zzogl-pg/opengl/HostMemory.cpp +++ b/plugins/zzogl-pg/opengl/HostMemory.cpp @@ -438,20 +438,20 @@ __forceinline void _TransferLocalLocal_4() write = gdp((j2+3)%2048, i2%2048, gs.dstbuf.bw); pDstBuf[write] = (pDstBuf[write]&0x0f)|(pSrcBuf[read]&0xf0); - read = gsp((j+2)%2048, i%2048, gs.srcbuf.bw); - write = gdp((j2+2)%2048, i2%2048, gs.dstbuf.bw); + read = gsp((j+4)%2048, i%2048, gs.srcbuf.bw); + write = gdp((j2+4)%2048, i2%2048, gs.dstbuf.bw); pDstBuf[write] = (pDstBuf[write]&0xf0)|(pSrcBuf[read]&0x0f); - read = gsp((j+3)%2048, i%2048, gs.srcbuf.bw); - write = gdp((j2+3)%2048, i2%2048, gs.dstbuf.bw); + read = gsp((j+5)%2048, i%2048, gs.srcbuf.bw); + write = gdp((j2+5)%2048, i2%2048, gs.dstbuf.bw); pDstBuf[write] = (pDstBuf[write]&0x0f)|(pSrcBuf[read]&0xf0); - read = gsp((j+2)%2048, i%2048, gs.srcbuf.bw); - write = gdp((j2+2)%2048, i2%2048, gs.dstbuf.bw); + read = gsp((j+6)%2048, i%2048, gs.srcbuf.bw); + write = gdp((j2+6)%2048, i2%2048, gs.dstbuf.bw); pDstBuf[write] = (pDstBuf[write]&0xf0)|(pSrcBuf[read]&0x0f); - read = gsp((j+3)%2048, i%2048, gs.srcbuf.bw); - write = gdp((j2+3)%2048, i2%2048, gs.dstbuf.bw); + read = gsp((j+7)%2048, i%2048, gs.srcbuf.bw); + write = gdp((j2+7)%2048, i2%2048, gs.dstbuf.bw); pDstBuf[write] = (pDstBuf[write]&0x0f)|(pSrcBuf[read]&0xf0); } }