Buildfixes - wrong function names were used

This commit is contained in:
twinaphex 2018-03-29 17:35:28 +02:00
parent 039820f367
commit 67c3fd88f4

View File

@ -116,12 +116,12 @@ char* copy_core_to_temp_file(void)
if (!okay)
goto failed;
if (!file_stream_read_file(corePath, &dllFileData, &dllFileSize))
if (!filestream_read_file(corePath, &dllFileData, &dllFileSize))
goto failed;
strcat_alloc(&tempDllPath, retroarchTempPath);
strcat_alloc(&tempDllPath, coreBaseName);
okay = file_stream_write_file(tempDllPath, dllFileData, dllFileSize);
okay = filestream_write_file(tempDllPath, dllFileData, dllFileSize);
if (!okay)
{
@ -177,7 +177,7 @@ bool write_file_with_random_name(char **tempDllPath,
strcat_alloc(tempDllPath, prefix);
strcat_alloc(tempDllPath, numberBuf);
strcat_alloc(tempDllPath, ext);
okay = write_file_stream(*tempDllPath, data, dataSize);
okay = filestream_write(*tempDllPath, data, dataSize);
if (okay)
break;
}