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:
+2
-2
@@ -229,7 +229,7 @@ void HarddiskInterfaceCard::LoadLastDiskImage(const int drive)
|
||||
|
||||
char pathname[MAX_PATH];
|
||||
|
||||
std::string& regSection = RegGetConfigSlotSection(m_slot);
|
||||
std::string regSection = RegGetConfigSlotSection(m_slot);
|
||||
if (RegLoadString(regSection.c_str(), regKey.c_str(), TRUE, pathname, MAX_PATH, TEXT("")) && (pathname[0] != 0))
|
||||
{
|
||||
m_saveDiskImage = false;
|
||||
@@ -253,7 +253,7 @@ void HarddiskInterfaceCard::SaveLastDiskImage(const int drive)
|
||||
if (!m_saveDiskImage)
|
||||
return;
|
||||
|
||||
std::string& regSection = RegGetConfigSlotSection(m_slot);
|
||||
std::string regSection = RegGetConfigSlotSection(m_slot);
|
||||
RegSaveValue(regSection.c_str(), REGVALUE_CARD_TYPE, TRUE, CT_GenericHDD);
|
||||
|
||||
const std::string regKey = (drive == HARDDISK_1)
|
||||
|
||||
Reference in New Issue
Block a user