mirror of https://github.com/PCSX2/pcsx2.git
GregMiscellaneous:
* Use memset instead of GSC_Null, It saves a function call and I do not thinks it was related to the previous crash. Arcum can you test it ? * Tune the GOW value. git-svn-id: http://pcsx2.googlecode.com/svn/branches/GregMiscellaneous@3666 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
1c1eef8bde
commit
581a2b83c8
|
@ -50,7 +50,7 @@ GSconf conf;
|
|||
int ppf, g_GSMultiThreaded, CurrentSavestate = 0;
|
||||
int g_LastCRC = 0, g_TransferredToGPU = 0, s_frameskipping = 0;
|
||||
int g_SkipFlushFrame = 0;
|
||||
GetSkipCount GetSkipCount_Handler = GSC_Null;
|
||||
GetSkipCount GetSkipCount_Handler = 0;
|
||||
|
||||
int UPDATE_FRAMES = 16, g_nFrame = 0, g_nRealFrame = 0;
|
||||
float fFPS = 0;
|
||||
|
@ -186,11 +186,11 @@ void CALLBACK GSsetGameCRC(int crc, int options)
|
|||
{
|
||||
inited = true;
|
||||
|
||||
//memset(&GSC_list, 0, sizeof(GSC_list));
|
||||
for(int i = 0; i < NUMBER_OF_TITLES; i++)
|
||||
{
|
||||
GSC_list[i] = GSC_Null;
|
||||
}
|
||||
memset(GSC_list, 0, sizeof(GSC_list));
|
||||
// for(int i = 0; i < NUMBER_OF_TITLES; i++)
|
||||
// {
|
||||
// GSC_list[i] = GSC_Null;
|
||||
// }
|
||||
|
||||
GSC_list[Okami] = GSC_Okami;
|
||||
GSC_list[MetalGearSolid3] = GSC_MetalGearSolid3;
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
bool GSC_Null(const GSFrameInfo& fi, int& skip)
|
||||
{
|
||||
//ZZLog::Error_Log("GSC_Null");
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
bool GSC_Okami(const GSFrameInfo& fi, int& skip)
|
||||
|
@ -437,7 +437,8 @@ bool GSC_GodOfWar(const GSFrameInfo& fi, int& skip)
|
|||
{
|
||||
if(fi.TME && fi.FBP == 0x00000 && fi.FPSM == PSMCT16 && fi.TBP0 == 0x00000 && fi.TPSM == PSMCT16)
|
||||
{
|
||||
skip = 30;
|
||||
// skip = 30; //GSdx
|
||||
skip = 23; // 23 or 4 need more testing
|
||||
}
|
||||
else if(fi.TME && fi.FBP == 0x00000 && fi.FPSM == PSMCT32 && fi.TBP0 == 0x00000 && fi.TPSM == PSMCT32 && fi.FBMSK == 0xff000000)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue