diff --git a/Source/Core/Core/HW/GBACore.cpp b/Source/Core/Core/HW/GBACore.cpp index 2f83c14237..dcb5c4675e 100644 --- a/Source/Core/Core/HW/GBACore.cpp +++ b/Source/Core/Core/HW/GBACore.cpp @@ -121,7 +121,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); }