diff --git a/r5dev/vpc/interfaces.h b/r5dev/vpc/interfaces.h index aef3f6e3..55982391 100644 --- a/r5dev/vpc/interfaces.h +++ b/r5dev/vpc/interfaces.h @@ -7,9 +7,11 @@ //----------------------------------------------------------------------------- // Mapping of interface string to globals //----------------------------------------------------------------------------- +typedef void* (*InstantiateInterfaceFn)(); + struct InterfaceGlobals_t { - std::int64_t(*m_pInterfacePtr)(void); + InstantiateInterfaceFn m_pInterfacePtr; const char* m_pInterfaceName; - std::int64_t* m_pNextInterfacePtr; + InterfaceGlobals_t* m_pNextInterfacePtr; };