create seperate core2/file.h header

This commit is contained in:
Banjo Kazooie
2024-09-13 19:34:27 -05:00
parent c566cadd6f
commit d55a8d829d
15 changed files with 86 additions and 53 deletions

View File

@@ -1,11 +1,10 @@
#include <ultra64.h>
#include <core2/file.h>
#include "functions.h"
#include "variables.h"
#define FILE_DEFAULT_SIZE 0x20
void file_read(File *file, void *arg1, s32 arg2);
void file_close(File *file) {
@@ -62,7 +61,7 @@ File *file_openFromMem(void *ptr, s32 size) {
return this;
}
File *file_allocNew() {
File *file_allocNew(void) {
File *this;
this = (File *) malloc(sizeof(File));