Fix build issue

Co-Authored-By: Ben <bene_thomas@web.de>
This commit is contained in:
Jhynjhiruu 2019-07-21 10:51:59 +01:00 committed by GitHub
parent 3f49d9920c
commit 834a487388
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -53,7 +53,8 @@ SMDH::GameRegion SMDH::GetRegion() const {
return GameRegion::RegionFree; 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) { 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