1
0
Fork 0

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
1 changed files with 4 additions and 0 deletions

View File

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