Update smdh.cpp

This commit is contained in:
Jhynjhiruu 2019-07-21 00:36:04 +01:00 committed by GitHub
parent a9df1c29f9
commit fb16700fe5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,6 +53,10 @@ SMDH::GameRegion SMDH::GetRegion() const {
return GameRegion::RegionFree;
}
if (region_lockout == 0x00000050) {
return GameRegion::Taiwan;
} // hack to fix TWN games that support CHN consoles
constexpr u32 REGION_COUNT = 7;
u32 region = 0;
for (; region < REGION_COUNT; ++region) {