Some new NIDs, log fix, very minor bugfix.

This commit is contained in:
Henrik Rydgard 2012-11-27 11:40:30 +01:00
parent 2822ce2737
commit a74af8f372
4 changed files with 13 additions and 6 deletions

View File

@ -140,6 +140,7 @@ const HLEFunction sceNetResolver[] =
{0x94523e09, 0, "sceNetResolverDelete"},
{0xf3370e61, 0, "sceNetResolverInit"},
{0x808F6063, 0, "sceNetResolverStop"},
{0x6138194A, 0, "sceNetResolverTermFunction"},
};
const HLEFunction sceNetInet[] =
@ -166,9 +167,10 @@ const HLEFunction sceNetInet[] =
{0xa9ed66b9, 0, "sceNetInetTerm"},
{0xE30B8C19, 0, "sceNetInetInetPton"},
{0xE247B6D6, 0, "sceNetInetGetpeername"},
{0x162e6fd5 ,0, "sceNetInetGetsockname"},
{0x4a114c7c ,0, "sceNetInetGetsockopt"},
{0xfaabb1dd ,0, "sceNetInetPoll"},
{0x162e6fd5, 0, "sceNetInetGetsockname"},
{0x4a114c7c, 0, "sceNetInetGetsockopt"},
{0xfaabb1dd, 0, "sceNetInetPoll"},
{0x1BDF5D13, 0, "sceNetInetInetAton"},
};
const HLEFunction sceNetApctl[] =
{

View File

@ -659,6 +659,11 @@ const HLEFunction sceUtility[] =
{0x4AECD179, 0, "sceUtilityGamedataInstallUpdate"},
{0xB57E95D9, 0, "sceUtilityGamedataInstallGetStatus"},
{0x180F7B62, 0, "sceUtilityGamedataInstallAbortFunction"},
{0x16D02AF0, 0, "sceUtilityNpSigninInitStart"},
{0xE19C97D6, 0, "sceUtilityNpSigninShutdownStart"},
{0xF3FBC572, 0, "sceUtilityNpSigninUpdate"},
{0x86ABDB1B, 0, "sceUtilityNpSigninGetStatus"},
};
void Register_sceUtility()

View File

@ -207,7 +207,7 @@ void GLES_GPU::SetRenderFrameBuffer()
if (vfb != currentRenderVfb_)
{
// Use it as a render target.
DEBUG_LOG(HLE, "Switching to FBO for %08x", vfb->fb_address);
DEBUG_LOG(HLE, "Switching render target to FBO for %08x", vfb->fb_address);
fbo_bind_as_render_target(vfb->fbo);
glViewport(0, 0, renderWidth_, renderHeight_);
currentRenderVfb_ = vfb;

View File

@ -684,9 +684,9 @@ void GLES_GPU::UpdateViewportAndProjection()
float vpZ1 = (vpZa * 2) / 65536.0f;
vpX0 *= renderWidthFactor_;
vpY0 *= renderWidthFactor_;
vpY0 *= renderHeightFactor_;
vpWidth *= renderWidthFactor_;
vpHeight *= renderWidthFactor_;
vpHeight *= renderHeightFactor_;
// Flip vpY0 to match the OpenGL coordinate system.
vpY0 = renderHeight_ - (vpY0 + vpHeight);