forked from Hay1tsme/segatools
add almost full vfd implementation #31
@ -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);
|
||||
Dniel97 marked this conversation as resolved
Outdated
|
||||
cfg->utf_conversion = GetPrivateProfileIntW(L"vfd", L"utfConversion", 0, filename);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user
Awesome PR, the only "issue" I have with it is that the
portNo
is set in each segatools.ini config. So my idea would be to set this to 0 by default and only read theportNo
from segatools.ini if theportNo
is not 0.