Last active
May 18, 2022 06:14
-
-
Save tana3n/ac7b839dd6aecf5b8af84fb05c22ea49 to your computer and use it in GitHub Desktop.
LibISDBのStock777選局可にするPatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/otya128/TVTDataBroadcastingWV2/commit/64cf083c9051e93865a7625a3c5175513ecc6b87 | |
を参考の元、データカルーセルを検出した場合にtrueを返す例 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/LibISDB/Windows/Viewer/ViewerEngine.cpp b/LibISDB/Windows/Viewer/ViewerEngine.cpp | |
index 3bf1841..aade311 100644 | |
--- a/LibISDB/Windows/Viewer/ViewerEngine.cpp | |
+++ b/LibISDB/Windows/Viewer/ViewerEngine.cpp | |
@@ -162,6 +162,9 @@ bool ViewerEngine::IsSelectableService(int Index) const | |
if (m_pAnalyzer == nullptr) | |
return false; | |
+ if (m_pAnalyzer->GetDataCarrouselESCount(Index) > 0) | |
+ return true; | |
+ | |
if ((Index < 0) || (Index >= m_pAnalyzer->GetServiceCount())) | |
return false; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment