410 :
371:
>391
371でも問題ないけど、もっとシンプルかつわかりやすくしようかな。
Manager.cpp
-printf("Insert card or press any key to exit.\n\n");
+printf("Insert card or press ESC key to exit.\n\n");
-BCAS::Keyset::GetKeyset(BroadcasterGroupID, KS);
+BCAS::Keyset::GetKeyset(BroadcasterGroupID, KS);
+if (BroadcasterGroupID == 0x1e)
+ KS.BroadcastGroupID=0x01
CardTool.cpp
-Expiry = 365 * 2;
+Expiry = 365;
Decoder-ECM.cpp
-BCAS::Crypto::Transform(ECM->ProtocolNumber, Key, ECM->ScramblingKeyOdd, Size, Output, true);
+BCAS::Crypto::Transform(ECM->ProtocolNumber, Key, ECM->ScramblingKeyOdd, Size - 3, Output, true);