mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 00:17:16 +00:00
Fix build errors from PR #1039
This commit is contained in:
@@ -249,7 +249,7 @@ void LoadConfiguration(bool loadImages)
|
||||
|
||||
for (UINT slot = SLOT0; slot <= SLOT7; slot++)
|
||||
{
|
||||
std::string& regSection = RegGetConfigSlotSection(slot);
|
||||
std::string regSection = RegGetConfigSlotSection(slot);
|
||||
|
||||
if (RegLoadValue(regSection.c_str(), REGVALUE_CARD_TYPE, TRUE, &dwTmp))
|
||||
{
|
||||
@@ -261,7 +261,7 @@ void LoadConfiguration(bool loadImages)
|
||||
|
||||
if ((SS_CARDTYPE)dwTmp == CT_Uthernet) // TODO: move this to when UthernetCard object is instantiated
|
||||
{
|
||||
std::string& regSection = RegGetConfigSlotSection(slot);
|
||||
std::string regSection = RegGetConfigSlotSection(slot);
|
||||
if (RegLoadString(regSection.c_str(), REGVALUE_UTHERNET_INTERFACE, TRUE, szFilename, MAX_PATH, TEXT("")))
|
||||
update_tfe_interface(szFilename);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user