From ff5d60734f190c5e26d4b43baa467cf63f3a7afb Mon Sep 17 00:00:00 2001 From: Nico Giansanti Date: Fri, 16 Jul 2021 00:38:42 +0300 Subject: [PATCH] APM3 seiral fix APM3 seiral fix --- OpenParrot/src/Functions/Games/APM3/APM3.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/OpenParrot/src/Functions/Games/APM3/APM3.cpp b/OpenParrot/src/Functions/Games/APM3/APM3.cpp index 73de119..04ab3d2 100644 --- a/OpenParrot/src/Functions/Games/APM3/APM3.cpp +++ b/OpenParrot/src/Functions/Games/APM3/APM3.cpp @@ -368,7 +368,7 @@ char __fastcall Input_setGamepadConfig(__int64 a1) void** NetworkProperty_getAddressString() { -#ifdef _LOGAPM3 +#ifdef _DEBUG info(true, "NetworkProperty_getAddressString"); #endif return NetworkProperty_getAddressStringReturnValue; @@ -376,7 +376,7 @@ void** NetworkProperty_getAddressString() __int64 NetworkProperty_getAddressValue() { -#ifdef _LOGAPM3 +#ifdef _DEBUG info(true, "NetworkProperty_getAddressValue"); #endif return NetworkProperty_getAddressValueReturnValue; @@ -398,8 +398,8 @@ struct StandardSerialID struct ShortSerialID { - const BYTE LENGTH = 11; - wchar_t Value[11]; + const BYTE LENGTH = 12; + wchar_t Value[12]; }; struct SerialID @@ -417,8 +417,8 @@ SerialID* System_getBoardId() if (_serialId == nullptr) { _serialId = (SerialID*)malloc(sizeof(SerialID)); - wcscpy(_serialId->ID.Value, L"IAMGOD"); - wcscpy(_serialId->ShortId.Value, L"IAMGOD"); + wcscpy(_serialId->ID.Value, L"IAMGODBEAVER"); + wcscpy(_serialId->ShortId.Value, L"IAMGODBEAVER"); } return _serialId; } @@ -462,8 +462,8 @@ SerialID* System_getKeychipId() if (_serialId == nullptr) { _serialId = (SerialID*)malloc(sizeof(SerialID)); - wcscpy(_serialId->ID.Value, L"IAMGOD"); - wcscpy(_serialId->ShortId.Value, L"IAMGOD"); + wcscpy(_serialId->ID.Value, L"IAMGODBEAVER"); + wcscpy(_serialId->ShortId.Value, L"IAMGODBEAVER"); } return _serialId; }