1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-18 12:33:17 +01:00

Remove unused writeentirefile()

This commit is contained in:
Gymnasiast
2022-01-08 18:51:47 +01:00
parent 6bcf848b2f
commit 7bab05c66a
2 changed files with 0 additions and 14 deletions

View File

@@ -143,16 +143,3 @@ namespace File
return Platform::GetFileSize(path);
}
} // namespace File
bool writeentirefile(const utf8* path, const void* buffer, size_t length)
{
try
{
File::WriteAllBytes(String::ToStd(path), buffer, length);
return true;
}
catch (const std::exception&)
{
return false;
}
}

View File

@@ -31,7 +31,6 @@ void path_set_extension(utf8* path, const utf8* newExtension, size_t size);
void path_append_extension(utf8* path, const utf8* newExtension, size_t size);
void path_remove_extension(utf8* path);
void path_end_with_separator(utf8* path, size_t size);
bool writeentirefile(const utf8* path, const void* buffer, size_t length);
bool sse41_available();
bool avx2_available();