diff --git a/src/Cafe/HW/Latte/Core/LatteShaderGL.cpp b/src/Cafe/HW/Latte/Core/LatteShaderGL.cpp index e709e46d..3d5e9c72 100644 --- a/src/Cafe/HW/Latte/Core/LatteShaderGL.cpp +++ b/src/Cafe/HW/Latte/Core/LatteShaderGL.cpp @@ -20,7 +20,7 @@ bool gxShader_checkIfSuccessfullyLinked(GLuint glProgram) glGetProgramInfoLog(glProgram, std::min(tempLength, infoLogLength), (GLsizei*)&tempLength, (GLcharARB*)infoLog); infoLog[tempLength] = '\0'; forceLog_printf("Link error in raw shader"); - cafeLog_logLine(LOG_TYPE_FORCE, infoLog); + cemuLog_log(LogType::Force, infoLog); return false; } diff --git a/src/Cafe/HW/Latte/Renderer/OpenGL/RendererShaderGL.cpp b/src/Cafe/HW/Latte/Renderer/OpenGL/RendererShaderGL.cpp index dc088ae3..73016aaf 100644 --- a/src/Cafe/HW/Latte/Renderer/OpenGL/RendererShaderGL.cpp +++ b/src/Cafe/HW/Latte/Renderer/OpenGL/RendererShaderGL.cpp @@ -193,7 +193,7 @@ bool RendererShaderGL::WaitForCompiled() glGetShaderInfoLog(m_shader_object, std::min(infoLogLength, tempLength), (GLsizei*)&tempLength, (GLcharARB*)infoLog); infoLog[tempLength] = '\0'; forceLog_printf("Compile error in shader. Log:", infoLog); - cafeLog_logLine(LOG_TYPE_FORCE, infoLog); + cemuLog_log(LogType::Force, infoLog); } if (m_shader_object != 0) glDeleteShader(m_shader_object); @@ -213,7 +213,7 @@ bool RendererShaderGL::WaitForCompiled() glGetProgramInfoLog(m_program, std::min(infoLogLength, tempLength), (GLsizei*)&tempLength, (GLcharARB*)infoLog); infoLog[tempLength] = '\0'; forceLog_printf("Link error in shader. Log:", infoLog); - cafeLog_logLine(LOG_TYPE_FORCE, infoLog); + cemuLog_log(LogType::Force, infoLog); } m_isCompiled = true; return false; diff --git a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp index df37ae7e..d2854e04 100644 --- a/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp +++ b/src/Cafe/HW/Latte/Renderer/Vulkan/VulkanRenderer.cpp @@ -80,7 +80,7 @@ VKAPI_ATTR VkBool32 VKAPI_CALL DebugUtilsCallback(VkDebugUtilsMessageSeverityFla #endif - cafeLog_logLine(LOG_TYPE_FORCE, (char*)pCallbackData->pMessage); + cemuLog_log(LogType::Force, (char*)pCallbackData->pMessage); return VK_FALSE; }