From e4882273983e2ebea4772b7e82b6f666d1143777 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Wed, 13 Dec 2017 00:12:01 +0100 Subject: [PATCH] Just some log cleanup --- Common/FileUtil.cpp | 2 +- Core/HLE/sceIo.cpp | 2 +- UI/NativeApp.cpp | 1 - ext/native/thin3d/thin3d_gl.cpp | 2 -- 4 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Common/FileUtil.cpp b/Common/FileUtil.cpp index 09f28676d..247163251 100644 --- a/Common/FileUtil.cpp +++ b/Common/FileUtil.cpp @@ -208,7 +208,7 @@ bool Delete(const std::string &filename) { // Returns true if successful, or path already exists. bool CreateDir(const std::string &path) { - INFO_LOG(COMMON, "CreateDir: directory %s", path.c_str()); + DEBUG_LOG(COMMON, "CreateDir('%s')", path.c_str()); #ifdef _WIN32 if (::CreateDirectory(ConvertUTF8ToWString(path).c_str(), NULL)) return true; diff --git a/Core/HLE/sceIo.cpp b/Core/HLE/sceIo.cpp index b778a3af0..8935e0dc3 100644 --- a/Core/HLE/sceIo.cpp +++ b/Core/HLE/sceIo.cpp @@ -1875,7 +1875,7 @@ static int sceIoChangeAsyncPriority(int id, int priority) ERROR_LOG(SCEIO, "sceIoChangeAsyncPriority : Illegal Priority %i", priority); return SCE_KERNEL_ERROR_ILLEGAL_PRIORITY; } - ERROR_LOG(SCEIO, "UNIMPL sceIoChangeAsyncPriority(%d, %d)", id, priority); + WARN_LOG(SCEIO, "UNIMPL sceIoChangeAsyncPriority(%d, %d)", id, priority); return 0; } diff --git a/UI/NativeApp.cpp b/UI/NativeApp.cpp index 6e80ed508..1cc8c8aae 100644 --- a/UI/NativeApp.cpp +++ b/UI/NativeApp.cpp @@ -847,7 +847,6 @@ void NativeRender(GraphicsContext *graphicsContext) { } if (resized) { - ILOG("resized was set to true - resizing"); resized = false; if (uiContext) { diff --git a/ext/native/thin3d/thin3d_gl.cpp b/ext/native/thin3d/thin3d_gl.cpp index 033a78723..7f6702160 100644 --- a/ext/native/thin3d/thin3d_gl.cpp +++ b/ext/native/thin3d/thin3d_gl.cpp @@ -276,12 +276,10 @@ GLuint ShaderStageToOpenGL(ShaderStage stage) { class OpenGLShaderModule : public ShaderModule { public: OpenGLShaderModule(ShaderStage stage) : stage_(stage) { - ILOG("Shader module created (%p)", this); glstage_ = ShaderStageToOpenGL(stage); } ~OpenGLShaderModule() { - ILOG("Shader module destroyed (%p)", this); if (shader_) glDeleteShader(shader_); }