diff --git a/OpenParrot/src/Functions/Games/APM3/APM3.cpp b/OpenParrot/src/Functions/Games/APM3/APM3.cpp index 748a76f..c48b124 100644 --- a/OpenParrot/src/Functions/Games/APM3/APM3.cpp +++ b/OpenParrot/src/Functions/Games/APM3/APM3.cpp @@ -366,7 +366,7 @@ char __fastcall Input_setGamepadConfig(__int64 a1) return Input_setGamepadConfigReturnValue; } -void** NetworkProperty_getAddressString() +char* NetworkProperty_getAddressString() { #ifdef _DEBUG info(true, "NetworkProperty_getAddressString"); diff --git a/OpenParrot/src/Functions/Games/APM3/APM3.h b/OpenParrot/src/Functions/Games/APM3/APM3.h index 650b4c8..3da13cf 100644 --- a/OpenParrot/src/Functions/Games/APM3/APM3.h +++ b/OpenParrot/src/Functions/Games/APM3/APM3.h @@ -68,7 +68,7 @@ static __int64 Input_isOpenPewviewWindowReturnValue = 0; static char Input_setGamepadConfigReturnValue = 0; -static void** NetworkProperty_getAddressStringReturnValue = nullptr; +static char *NetworkProperty_getAddressStringReturnValue = "192.168.0.1"; static __int64 NetworkProperty_getAddressValueReturnValue = 0;