idac: added dipswitch support (beta)

This commit is contained in:
2023-07-14 00:41:23 +02:00
parent da97d23b51
commit c27ef9674d
13 changed files with 263 additions and 16 deletions

View File

@ -12,6 +12,7 @@
#include "platform/pcbid.h"
#include "platform/platform.h"
#include "platform/vfs.h"
#include "platform/dipsw.h"
HRESULT platform_hook_init(
const struct platform_config *cfg,
@ -80,5 +81,11 @@ HRESULT platform_hook_init(
return hr;
}
hr = dipsw_init(&cfg->dipsw, &cfg->vfs);
if (FAILED(hr)) {
return hr;
}
return S_OK;
}