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

@ -60,6 +60,18 @@ static DWORD CALLBACK idac_pre_startup(void)
/* Initialize emulation hooks */
struct dipsw_config new_dipsw_config[8] = {
{L"Delivery Server", L"Server", L"Client"},
{L"Cabinet Type", L"SWDC CVT", L"DZero CVT"},
{L"Single Seat", L"ON", L"OFF"},
{L"Seat Setting 1", L"ON", L"OFF"},
{L"Seat Setting 2", L"ON", L"OFF"},
};
// Set the system dip switch configuration
memcpy(idac_hook_cfg.platform.system.dipsw_config, new_dipsw_config,
sizeof(new_dipsw_config));
hr = platform_hook_init(
&idac_hook_cfg.platform,
"SDGT",