mirror of https://github.com/AxioDL/metaforce.git
Don't use GNU extensions for fopen
This commit is contained in:
parent
3a71a72ec7
commit
22256228fb
|
@ -473,7 +473,7 @@ void __PADLoadMapping(aurora::input::GameController* controller) {
|
||||||
|
|
||||||
auto path = fmt::format(FMT_STRING("{}/{}_{:04X}_{:04X}.controller"), basePath, PADGetName(playerIndex),
|
auto path = fmt::format(FMT_STRING("{}/{}_{:04X}_{:04X}.controller"), basePath, PADGetName(playerIndex),
|
||||||
controller->m_vid, controller->m_pid);
|
controller->m_vid, controller->m_pid);
|
||||||
FILE* file = fopen(path.c_str(), "rbe");
|
FILE* file = fopen(path.c_str(), "rb");
|
||||||
if (file == nullptr) {
|
if (file == nullptr) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue