mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 06:10:03 -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)
|
FILE* OpenDataFile(const char* path)
|
||||||
{
|
{
|
||||||
return OpenLocalFile(path, "r");
|
return OpenLocalFile(path, "rb");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user