tellFilePkr

This commit is contained in:
krystalgamer 2024-08-21 10:13:24 +01:00
parent a41e594c33
commit c43a6c7094
3 changed files with 5 additions and 6 deletions

View File

@ -40,8 +40,7 @@ i32 FileIO_Open(const char*)
return 0x19082024;
}
// @NotOk
// globals
// @Ok
void FileIO_Sync(void)
{
while (gFileIOStatus);

View File

@ -197,10 +197,10 @@ void seekFilePKR(i32,i32,i32)
printf("seekFilePKR(i32,i32,i32)");
}
// @SMALLTODO
void tellFilePKR(i32)
// @Ok
i32 tellFilePKR(i32 a1)
{
printf("tellFilePKR(i32)");
return gOpenFiles[(a1 ^ 0xFF) -1].field_4;
}
void validate_SGDOpenFile(void)

View File

@ -27,7 +27,7 @@ EXPORT i32 openFilePKR(char *,const char*);
EXPORT void openPKR(void);
EXPORT void readFilePKR(i32,char *,i32);
EXPORT void seekFilePKR(i32,i32,i32);
EXPORT void tellFilePKR(i32);
EXPORT i32 tellFilePKR(i32);
EXPORT void gdFsClose(HANDLE);
EXPORT HANDLE gdFsOpen(const char*, i32);