From dd286e9f696ebd631af45bca82ca458aafd21728 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Tue, 11 Feb 2020 15:02:55 +0100 Subject: platform work --- src/linux/platform.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/linux/platform.c') diff --git a/src/linux/platform.c b/src/linux/platform.c index 855564b..2019f79 100644 --- a/src/linux/platform.c +++ b/src/linux/platform.c @@ -184,6 +184,12 @@ bool set_active_directory(char *path) return !chdir(path); } + +void platform_delete_file(char *path) +{ + remove(path); +} + bool platform_write_file_content(char *path, const char *mode, char *buffer, s32 len) { bool result = false; -- cgit v1.2.3-70-g09d2