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

[MD/32X] Force PAL region when (PAL) or (Europe) are in ROM name #1781

Merged
merged 2 commits into from
Jan 19, 2025
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
11 changes: 11 additions & 0 deletions mia/medium/mega-32x.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,17 @@ auto Mega32X::analyze(vector<u8>& rom) -> string {
regions.append("NTSC-J", "NTSC-U", "PAL");
}

// FIFA Soccer 96 and Mortal Kombat II have an incorrect header, so force PAL based on name
if(location.ifind("(Europe)") || location.ifind("(PAL)")) {
regions.reset();
regions.append("PAL");
}

//Shadow Squadron - Stellar Assault is missing NTSC-U region in header
if(hash == "2f9b6017258fbb1c37d81df07c68d5255495d3bf76d9c7b680ff66bccf665750") {
regions.append("NTSC-U");
}

string domesticName;
domesticName.resize(48);
memory::copy(domesticName.get(), &rom[0x0120], domesticName.size());
Expand Down
4 changes: 2 additions & 2 deletions mia/medium/mega-drive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,8 @@ auto MegaDrive::analyzeRegion(vector<u8>& rom, string hash) -> void {
regions.append("NTSC-J", "NTSC-U", "PAL");
}

//Alisia Dragoon (Europe)
if(hash == "0930b77d0474e99c10690245cac12a6618b6c16420e3575379aba6e715ea797a") {
// Many PAL games have incorrect headers, so force PAL based on name
if(location.ifind("(Europe)") || location.ifind("(PAL)")) {
regions.reset();
regions.append("PAL");
}
Expand Down
Loading