system: add dip switch label configurations

This commit is contained in:
2025-03-02 00:23:53 +01:00
parent b8af67377c
commit 4d0ef54279
12 changed files with 117 additions and 67 deletions

View File

@ -66,6 +66,14 @@ static DWORD CALLBACK mai2_pre_startup(void)
/* Initialize emulation hooks */
struct dipsw_config new_dipsw_config[8] = {
{L"Delivery Server", L"Server", L"Client"},
};
// Set the system dip switch configuration
memcpy(mai2_hook_cfg.platform.system.dipsw_config, new_dipsw_config,
sizeof(new_dipsw_config));
hr = platform_hook_init(
&mai2_hook_cfg.platform,
"SDEZ",