Fix logic

This commit is contained in:
Andrew 2023-06-01 19:47:07 +03:00
parent 62e2e37373
commit 1f30ff762d

View File

@ -14,9 +14,6 @@ with open('bink.h', 'w') as out:
#ifndef WINDOWSXPKG_BINK_H #ifndef WINDOWSXPKG_BINK_H
#define WINDOWSXPKG_BINK_H #define WINDOWSXPKG_BINK_H
std::unordered_map<std::string, std::unordered_map<int, std::string>> Products;
std::unordered_map<std::string, ECDLP_Params> BINKData;
struct ECDLP_Params { struct ECDLP_Params {
// p, a, b // p, a, b
std::tuple<std::string, std::string, std::string> E; std::tuple<std::string, std::string, std::string> E;
@ -31,6 +28,9 @@ struct ECDLP_Params {
std::string k; std::string k;
}; };
std::unordered_map<std::string, std::unordered_map<int, std::string>> Products;
std::unordered_map<std::string, ECDLP_Params> BINKData;
struct ProductID { struct ProductID {
uint8_t SiteID; uint8_t SiteID;
uint16_t Serial; uint16_t Serial;