mirror of https://github.com/PCSX2/pcsx2.git
zzogl-pg: Change the messages when finding a game crc a bit.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3512 96395faa-99c1-11dd-bbfe-3dabce05a288
This commit is contained in:
parent
155e0a1bfa
commit
c2804a2806
|
@ -141,7 +141,7 @@ void CALLBACK GSsetGameCRC(int crc, int options)
|
||||||
|
|
||||||
g_LastCRC = crc;
|
g_LastCRC = crc;
|
||||||
|
|
||||||
ZZLog::Error_Log("CRC = %x", crc);
|
if (crc != 0) ZZLog::Error_Log("Current game CRC is %x.", crc);
|
||||||
|
|
||||||
if (CRCValueChanged && (crc != 0))
|
if (CRCValueChanged && (crc != 0))
|
||||||
{
|
{
|
||||||
|
@ -149,13 +149,24 @@ void CALLBACK GSsetGameCRC(int crc, int options)
|
||||||
{
|
{
|
||||||
if (crc_game_list[i].crc == crc)
|
if (crc_game_list[i].crc == crc)
|
||||||
{
|
{
|
||||||
if (crc_game_list[i].v_thresh > 0) VALIDATE_THRESH = crc_game_list[i].v_thresh;
|
ZZLog::Error_Log("Found CRC[%x] in crc game list.", crc);
|
||||||
if (crc_game_list[i].t_thresh > 0) TEXDESTROY_THRESH = crc_game_list[i].t_thresh;
|
|
||||||
|
if (crc_game_list[i].v_thresh > 0)
|
||||||
|
{
|
||||||
|
VALIDATE_THRESH = crc_game_list[i].v_thresh;
|
||||||
|
ZZLog::Error_Log("Setting VALIDATE_THRESH to %d", VALIDATE_THRESH);
|
||||||
|
}
|
||||||
|
if (crc_game_list[i].t_thresh > 0)
|
||||||
|
{
|
||||||
|
TEXDESTROY_THRESH = crc_game_list[i].t_thresh;
|
||||||
|
ZZLog::Error_Log("Setting TEXDESTROY_THRESH to %d", VALIDATE_THRESH);
|
||||||
|
}
|
||||||
|
|
||||||
conf.def_hacks._u32 |= crc_game_list[i].flags;
|
conf.def_hacks._u32 |= crc_game_list[i].flags;
|
||||||
|
if (crc_game_list[i].flags != 0)
|
||||||
ZZLog::Error_Log("Found CRC[%x] in crc game list.", crc);
|
{
|
||||||
|
ZZLog::Error_Log("Enabling flags (0x%x).", crc_game_list[i].flags);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -246,6 +246,7 @@ void ZeroGS::CRenderTarget::SetTarget(int fbplocal, const Rect2& scissor, int co
|
||||||
}
|
}
|
||||||
|
|
||||||
// set render states
|
// set render states
|
||||||
|
// Bleh. I *really* need to fix this. << 3 when setting the scissors, then >> 3 when using them... --Arcum42
|
||||||
scissorrect.x = scissor.x0 >> 3;
|
scissorrect.x = scissor.x0 >> 3;
|
||||||
scissorrect.y = (scissor.y0 >> 3) + dy;
|
scissorrect.y = (scissor.y0 >> 3) + dy;
|
||||||
scissorrect.w = (scissor.x1 >> 3) + 1;
|
scissorrect.w = (scissor.x1 >> 3) + 1;
|
||||||
|
|
Loading…
Reference in New Issue