diff --git a/ini/GLideN64.custom.ini b/ini/GLideN64.custom.ini index f5e5cc9bb..6157ef57b 100644 --- a/ini/GLideN64.custom.ini +++ b/ini/GLideN64.custom.ini @@ -18,7 +18,7 @@ generalEmulation\enableLegacyBlending=0 Good_Name=Bio F.R.E.A.K.S. (E)(U) frameBufferEmulation\copyToRDRAM=1 -[BioHazard%20II] +[BIOHAZARD%20II] Good_Name=Biohazard 2 (J) frameBufferEmulation\copyFromRDRAM=1 frameBufferEmulation\copyToRDRAM=0 diff --git a/src/mupenplus/Config_mupenplus.cpp b/src/mupenplus/Config_mupenplus.cpp index 2d9315d62..97e38a94e 100644 --- a/src/mupenplus/Config_mupenplus.cpp +++ b/src/mupenplus/Config_mupenplus.cpp @@ -340,6 +340,8 @@ void Config_LoadCustomConfig() ROMname.replace(pos, 1, "%20"); for (size_t pos = ROMname.find('\''); pos != std::string::npos; pos = ROMname.find('\'', pos)) ROMname.replace(pos, 1, "%27"); + for (size_t pos = ROMname.find('&'); pos != std::string::npos; pos = ROMname.find('&', pos)) + ROMname.replace(pos, 1, "%26"); std::transform(ROMname.begin(), ROMname.end(), ROMname.begin(), ::toupper); const char* sectionName = ROMname.c_str(); m64p_handle fileHandle;