Don't use GNU extensions for fopen

This commit is contained in:
Henrique Gemignani Passos Lima 2022-05-13 22:48:20 +03:00
parent 3a71a72ec7
commit 22256228fb
No known key found for this signature in database
GPG Key ID: E224F951761145F8
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ void __PADLoadMapping(aurora::input::GameController* controller) {
auto path = fmt::format(FMT_STRING("{}/{}_{:04X}_{:04X}.controller"), basePath, PADGetName(playerIndex),
controller->m_vid, controller->m_pid);
FILE* file = fopen(path.c_str(), "rbe");
FILE* file = fopen(path.c_str(), "rb");
if (file == nullptr) {
return;
}