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:
JosJuice 2026-04-01 08:17:13 +02:00
parent 51e83dd7a1
commit 99531cf509

View File

@ -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);
}