forked from Dniel97/segatools
platform/platform.c: Integrate platform DNS hook
This commit is contained in:
parent
1affb5c169
commit
a77e9efbed
@ -4,6 +4,7 @@
|
||||
|
||||
#include "platform/amvideo.h"
|
||||
#include "platform/config.h"
|
||||
#include "platform/dns.h"
|
||||
#include "platform/hwmon.h"
|
||||
#include "platform/misc.h"
|
||||
#include "platform/nusec.h"
|
||||
@ -30,6 +31,12 @@ HRESULT platform_hook_init_alls(
|
||||
return hr;
|
||||
}
|
||||
|
||||
hr = dns_platform_hook_init(&cfg->dns);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
return hr;
|
||||
}
|
||||
|
||||
hr = hwmon_hook_init(&cfg->hwmon);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
@ -78,6 +85,12 @@ HRESULT platform_hook_init_nu(
|
||||
return hr;
|
||||
}
|
||||
|
||||
hr = dns_platform_hook_init(&cfg->dns);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
return hr;
|
||||
}
|
||||
|
||||
hr = hwmon_hook_init(&cfg->hwmon);
|
||||
|
||||
if (FAILED(hr)) {
|
||||
|
Loading…
Reference in New Issue
Block a user