mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-24 23:32:39 -05:00
Don't call OpenModeToAndroid in GBACore
`OpenModeToAndroid("r")` is conceptually wrong, since we're opening a
binary file. It should be either `OpenModeToAndroid("rb")` or just
`"r"`. But either way it evaluates to `"r"`, so this doesn't affect
behavior.
This commit is contained in:
parent
51e83dd7a1
commit
99531cf509
|
|
@ -134,7 +134,7 @@ static VFile* OpenReadOnlyFile(const char* path)
|
|||
{
|
||||
#ifdef ANDROID
|
||||
if (IsPathAndroidContent(path))
|
||||
return VFileFromFD(OpenAndroidContent(path, OpenModeToAndroid("r")));
|
||||
return VFileFromFD(OpenAndroidContent(path, "r"));
|
||||
#endif
|
||||
return VFileOpen(path, O_RDONLY);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user