Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GLideN64.custom.ini small fixes #2876

Merged
merged 2 commits into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ini/GLideN64.custom.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions src/mupenplus/Config_mupenplus.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down