citra-emu
/
citra-canary
Archived
1
0
Fork 0

Fix whitespace

This commit is contained in:
Jhynjhiruu 2019-07-21 10:39:20 +01:00 committed by GitHub
parent 17ba67c8c9
commit 3f49d9920c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -52,12 +52,12 @@ SMDH::GameRegion SMDH::GetRegion() const {
if (region_lockout == 0x7fffffff) {
return GameRegion::RegionFree;
}
constexpr u32 taiwan_and_china = (1 << GameRegion::Taiwan) & (1 << 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) {