forked from Dniel97/segatools
default vfd port number to zero (use game-specific port)
This commit is contained in:
parent
cc5b87b559
commit
824bc9abda
@ -90,6 +90,6 @@ void vfd_config_load(struct vfd_config *cfg, const wchar_t *filename)
|
|||||||
assert(filename != NULL);
|
assert(filename != NULL);
|
||||||
|
|
||||||
cfg->enable = GetPrivateProfileIntW(L"vfd", L"enable", 1, filename);
|
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);
|
cfg->utf_conversion = GetPrivateProfileIntW(L"vfd", L"utfConversion", 0, filename);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user