mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-21 21:31:00 -06:00
Open with rb instead of r in OpenDataFile to avoid potential problems with Windows.
This commit is contained in:
@ -316,7 +316,7 @@ FILE* OpenLocalFile(const char* path, const char* mode)
|
||||
|
||||
FILE* OpenDataFile(const char* path)
|
||||
{
|
||||
return OpenLocalFile(path, "r");
|
||||
return OpenLocalFile(path, "rb");
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user