psxRcntFreeze() was fixed.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47708 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
SND\edgbla_cp 2010-05-09 18:46:41 +00:00
parent 626eb65758
commit 70ab51af66
4 changed files with 14 additions and 2 deletions

View File

@ -21,7 +21,7 @@ df Copyright: (C) 2005 Ryan Schultz
PCSX-Reloaded Authors/Contributors: avlex (Help on xcode project)
dario86 (Various bugfixes)
edgbla (Root counter, various core/plugin fixes)
edgbla (Root counters, various core/plugin fixes)
Gabriele Gorla (MDEC decoder)
maggix (Snow Leopard compile fix)
NeToU (Bugfix)

View File

@ -1,3 +1,8 @@
May 9, 2010 edgbla <edgbla@yandex.ru>
* libpcsxcore/psxcounters.c: psxRcntFreeze was fixed.
* plugins/dfxvideo/prim.c: Returned some code (iGPUHeight=1024), IMO, it's wrong, can't perform the tests.
May 9, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
* libpcsxcore/plugins.c: Removed support for ancient GPU/SPU plugin APIs.

View File

@ -465,9 +465,11 @@ void psxRcntInit()
s32 psxRcntFreeze( gzFile f, s32 Mode )
{
s8 unused[ 4096 - sizeof(rcnts) ];
s8 unused[ 4096 - (sizeof(rcnts) + sizeof(hSyncCount) + sizeof(spuSyncCount)) ];
gzfreezel( rcnts );
gzfreeze( &hSyncCount, sizeof(hSyncCount) );
gzfreeze( &spuSyncCount, sizeof(spuSyncCount) );
gzfreezel( unused );
return 0;

View File

@ -77,7 +77,12 @@ __inline void UpdateGlobalTP(unsigned short gdata)
GlobalTextABR = (unsigned short)((gdata >> 7) & 0x3);
GlobalTextTP = (gdata >> 9) & 0x3;
if(GlobalTextTP==3) GlobalTextTP=2;
usMirror =0;
lGPUstatusRet = (lGPUstatusRet & 0xffffe000 ) | (gdata & 0x1fff );
// tekken dithering? right now only if dithering is forced by user
if(iUseDither==2) iDither=2; else iDither=0;
return;
}
else