diff --git a/src/core/loader/smdh.cpp b/src/core/loader/smdh.cpp index 3392739c5..ebb35675c 100644 --- a/src/core/loader/smdh.cpp +++ b/src/core/loader/smdh.cpp @@ -53,6 +53,12 @@ SMDH::GameRegion SMDH::GetRegion() const { return GameRegion::RegionFree; } + constexpr u32 taiwan_and_china = + (1 << static_cast(GameRegion::Taiwan)) | (1 << static_cast(GameRegion::China)); + if (region_lockout == taiwan_and_china) { + 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) {