From a74af8f3727b0e82079dc098921e0e96112acad8 Mon Sep 17 00:00:00 2001 From: Henrik Rydgard Date: Tue, 27 Nov 2012 11:40:30 +0100 Subject: [PATCH] Some new NIDs, log fix, very minor bugfix. --- Core/HLE/sceNet.cpp | 8 +++++--- Core/HLE/sceUtility.cpp | 5 +++++ GPU/GLES/DisplayListInterpreter.cpp | 2 +- GPU/GLES/TransformPipeline.cpp | 4 ++-- 4 files changed, 13 insertions(+), 6 deletions(-) diff --git a/Core/HLE/sceNet.cpp b/Core/HLE/sceNet.cpp index 89c5c3758b..84d60e5748 100644 --- a/Core/HLE/sceNet.cpp +++ b/Core/HLE/sceNet.cpp @@ -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[] = { diff --git a/Core/HLE/sceUtility.cpp b/Core/HLE/sceUtility.cpp index e69a3734a8..eedddf66da 100644 --- a/Core/HLE/sceUtility.cpp +++ b/Core/HLE/sceUtility.cpp @@ -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() diff --git a/GPU/GLES/DisplayListInterpreter.cpp b/GPU/GLES/DisplayListInterpreter.cpp index 98cd0e059f..14a417d99e 100644 --- a/GPU/GLES/DisplayListInterpreter.cpp +++ b/GPU/GLES/DisplayListInterpreter.cpp @@ -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; diff --git a/GPU/GLES/TransformPipeline.cpp b/GPU/GLES/TransformPipeline.cpp index 27c49edd5a..41eaeefc01 100644 --- a/GPU/GLES/TransformPipeline.cpp +++ b/GPU/GLES/TransformPipeline.cpp @@ -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);