mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Fix {Read,Write}FileToString.
We should be using binary always.
This commit is contained in:
@ -140,7 +140,7 @@ void TexDecoder_OpenCL_Initialize()
|
||||
{
|
||||
std::string code;
|
||||
filename = File::GetSysDirectory() + OPENCL_DIR DIR_SEP "TextureDecoder.cl";
|
||||
if (!File::ReadFileToString(true, filename.c_str(), code))
|
||||
if (!File::ReadFileToString(filename.c_str(), code))
|
||||
{
|
||||
ERROR_LOG(VIDEO, "Failed to load OpenCL code %s - file is missing?", filename.c_str());
|
||||
return;
|
||||
|
Reference in New Issue
Block a user