mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Move TextureDecoder.cl from User to Sys
This commit is contained in:
@ -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());
|
||||
|
Reference in New Issue
Block a user