Made buf_to_file always return Result

This commit is contained in:
saibotu
2017-09-06 15:35:31 +02:00
parent 3fd4548d64
commit e46783a3c4
3 changed files with 28 additions and 17 deletions

View File

@@ -39,7 +39,7 @@ Result close_archives(void);
u64 file_to_buf(FS_Path path, FS_Archive archive, char** buf);
u32 zip_file_to_buf(char *file_name, u16 *zip_path, char **buf);
u32 buf_to_file(u32 size, char *path, FS_Archive archive, char *buf);
Result buf_to_file(u32 size, char *path, FS_Archive archive, char *buf);
void remake_file(char *path, FS_Archive archive, u32 size);
#endif