cellResc : InitMembers , InitSurfaces and few stuffs for InitRSXContext

This commit is contained in:
raven02 2014-06-29 06:07:46 +08:00
parent 0c53c00325
commit 26c77fbaa0
4 changed files with 181 additions and 15 deletions

View file

@ -558,6 +558,14 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, mem32_ptr_t& args, const u3
}
break;
case NV4097_SET_DEPTH_BOUNDS_MAX:
{
m_set_depth_bounds = true;
const u32 a0 = ARGS(0);
m_depth_bounds_max = (float&)a0;
}
break;
// Viewport
case NV4097_SET_VIEWPORT_VERTICAL:
{
@ -1619,6 +1627,12 @@ void RSXThread::DoCmd(const u32 fcmd, const u32 cmd, mem32_ptr_t& args, const u3
}
break;
case NV4097_SET_FREQUENCY_DIVIDER_OPERATION:
{
m_set_frequency_divider_operation = ARGS(0);
}
break;
case 0x000002c8:
case 0x000002d0:
case 0x000002d8: