From 824bc9abdaf9dac4a44bd745870c143412ea8c0b Mon Sep 17 00:00:00 2001 From: kyoubate-haruka <46010460+kyoubate-haruka@users.noreply.github.com> Date: Fri, 23 Aug 2024 17:24:47 +0200 Subject: [PATCH] default vfd port number to zero (use game-specific port) --- board/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/config.c b/board/config.c index b94915f..c1cd713 100644 --- a/board/config.c +++ b/board/config.c @@ -90,6 +90,6 @@ void vfd_config_load(struct vfd_config *cfg, const wchar_t *filename) assert(filename != NULL); cfg->enable = GetPrivateProfileIntW(L"vfd", L"enable", 1, filename); - cfg->port = GetPrivateProfileIntW(L"vfd", L"portNo", 1, filename); + cfg->port = GetPrivateProfileIntW(L"vfd", L"portNo", 0, filename); cfg->utf_conversion = GetPrivateProfileIntW(L"vfd", L"utfConversion", 0, filename); }