From e201d44aa9df54af0add21ab67a4521b4e045718 Mon Sep 17 00:00:00 2001 From: Jhynjhiruu Date: Sun, 21 Jul 2019 11:31:07 +0100 Subject: [PATCH] It's supposed to be OR, not AND! --- src/core/loader/smdh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/loader/smdh.cpp b/src/core/loader/smdh.cpp index a7b56360f..ebb35675c 100644 --- a/src/core/loader/smdh.cpp +++ b/src/core/loader/smdh.cpp @@ -54,7 +54,7 @@ SMDH::GameRegion SMDH::GetRegion() const { } constexpr u32 taiwan_and_china = - (1 << static_cast(GameRegion::Taiwan)) & (1 << static_cast(GameRegion::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