diff --git a/Source/Core/Core/HW/GBACore.cpp b/Source/Core/Core/HW/GBACore.cpp index 2226610d35..a04f38a8f8 100644 --- a/Source/Core/Core/HW/GBACore.cpp +++ b/Source/Core/Core/HW/GBACore.cpp @@ -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); }