mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-18 12:33:17 +01:00
Remove unused writeentirefile()
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user