mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-20 09:19:48 +00:00
Fix {Read,Write}FileToString.
We should be using binary always.
This commit is contained in:
parent
3f1ea21e4f
commit
e15f628935
12 changed files with 35 additions and 58 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue