move melon_fopen() to Platform.cpp

melon_fopen_local() will need fixoring
This commit is contained in:
Arisotura
2019-03-27 04:23:03 +01:00
parent 5d127f9e55
commit 6d7e80b677
8 changed files with 44 additions and 33 deletions

View File

@ -140,7 +140,7 @@ void GetSavestateName(int slot, char* filename, int len);
bool FileExists(const char* name)
{
FILE* f = melon_fopen(name, "rb");
FILE* f = Platform::OpenFile(name, "rb");
if (!f) return false;
fclose(f);
return true;