1
0
mirror of synced 2024-11-14 23:07:36 +01:00

APM3 seiral fix

APM3 seiral fix
This commit is contained in:
Nico Giansanti 2021-07-16 00:38:42 +03:00
parent 6c5ea69e57
commit ff5d60734f

View File

@ -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;
}