fix H264_IsBotW() return false while BotW's TitleRegion is JP (#174)

This commit is contained in:
bslhq 2022-09-05 00:19:27 +08:00 committed by GitHub
parent 14d6fb0987
commit 1373c76eb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,7 +28,7 @@ namespace H264
// both of these are required to allow Breath of the Wild to playback the higher res (1080p) videos from the Switch version // both of these are required to allow Breath of the Wild to playback the higher res (1080p) videos from the Switch version
// we mirror these hacks for user convenience and because there are no downsides // we mirror these hacks for user convenience and because there are no downsides
uint64 currentTitleId = CafeSystem::GetForegroundTitleId(); uint64 currentTitleId = CafeSystem::GetForegroundTitleId();
if (currentTitleId == 0x00050000101c9500 || currentTitleId == 0x00050000101c9400 || currentTitleId == 0x0005000e101c9300) if (currentTitleId == 0x00050000101c9500 || currentTitleId == 0x00050000101c9400 || currentTitleId == 0x00050000101c9300)
return true; return true;
return false; return false;
} }