Fix build errors from PR #1039

This commit is contained in:
tomcw
2022-02-16 20:14:40 +00:00
parent 7ae8907674
commit 43b9df253a
6 changed files with 11 additions and 11 deletions
+2 -2
View File
@@ -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);