diff --git a/src/core/loader/smdh.cpp b/src/core/loader/smdh.cpp index a575d04e1..a7b56360f 100644 --- a/src/core/loader/smdh.cpp +++ b/src/core/loader/smdh.cpp @@ -53,7 +53,8 @@ SMDH::GameRegion SMDH::GetRegion() const { return GameRegion::RegionFree; } - constexpr u32 taiwan_and_china = (1 << GameRegion::Taiwan) & (1 << GameRegion::China); + 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