mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
borp
This commit is contained in:
@ -123,7 +123,7 @@ FILE* OpenFile(const char* path, const char* mode, bool mustexist)
|
|||||||
if (mustexist)
|
if (mustexist)
|
||||||
{
|
{
|
||||||
ret = fopen(path, "rb");
|
ret = fopen(path, "rb");
|
||||||
if (ret) ret = freopen(path, mode);
|
if (ret) ret = freopen(path, mode, ret);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
ret = fopen(path, mode);
|
ret = fopen(path, mode);
|
||||||
|
Reference in New Issue
Block a user