It's supposed to be OR, not AND!

This commit is contained in:
Jhynjhiruu 2019-07-21 11:31:07 +01:00 committed by GitHub
parent 834a487388
commit e201d44aa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ SMDH::GameRegion SMDH::GetRegion() const {
} }
constexpr u32 taiwan_and_china = constexpr u32 taiwan_and_china =
(1 << static_cast<u32>(GameRegion::Taiwan)) & (1 << static_cast<u32>(GameRegion::China)); (1 << static_cast<u32>(GameRegion::Taiwan)) | (1 << static_cast<u32>(GameRegion::China));
if (region_lockout == taiwan_and_china) { if (region_lockout == taiwan_and_china) {
return GameRegion::Taiwan; return GameRegion::Taiwan;
} // hack to fix TWN games that support CHN consoles } // hack to fix TWN games that support CHN consoles