summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2013-09-12 03:44:16 +0200
committerPierre Bourdon <delroth@gmail.com>2013-09-14 06:08:30 +0200
commit91a758b3426a284daada4ad49ab8beab2e1837e3 (patch)
tree4038ff7cc68fad745ee970718801cf8fa4cb02e8 /Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
parentc3eec379df65ebedfbfce614dee8517c149da0a2 (diff)
Move TextureDecoder.cl from User to Sys
Diffstat (limited to 'Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp')
-rw-r--r--Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
index a9c6977d42..211244c457 100644
--- a/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
+++ b/Source/Core/VideoCommon/Src/OpenCL/OCLTextureDecoder.cpp
@@ -5,6 +5,7 @@
#include "OCLTextureDecoder.h"
#include "../OpenCL.h"
+#include "CommonPaths.h"
#include "FileUtil.h"
#include <fcntl.h>
@@ -138,7 +139,7 @@ void TexDecoder_OpenCL_Initialize()
if (err)
{
std::string code;
- filename = File::GetUserPath(D_OPENCL_IDX) + "TextureDecoder.cl";
+ filename = File::GetSysDirectory() + OPENCL_DIR DIR_SEP "TextureDecoder.cl";
if (!File::ReadFileToString(true, filename.c_str(), code))
{
ERROR_LOG(VIDEO, "Failed to load OpenCL code %s - file is missing?", filename.c_str());