mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-27 13:46:54 +00:00
Fix build issue
Co-Authored-By: Ben <bene_thomas@web.de>
This commit is contained in:
parent
3f49d9920c
commit
834a487388
|
@ -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<u32>(GameRegion::Taiwan)) & (1 << static_cast<u32>(GameRegion::China));
|
||||
if (region_lockout == taiwan_and_china) {
|
||||
return GameRegion::Taiwan;
|
||||
} // hack to fix TWN games that support CHN consoles
|
||||
|
|
Loading…
Reference in a new issue