diff --git a/source/Configuration/PropertySheetHelper.cpp b/source/Configuration/PropertySheetHelper.cpp index 51bcad30..c8c7a6cb 100644 --- a/source/Configuration/PropertySheetHelper.cpp +++ b/source/Configuration/PropertySheetHelper.cpp @@ -36,7 +36,6 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA #include "../Interface.h" #include "../Uthernet2.h" #include "../Tfe/PCapBackend.h" -#include "../CmdLine.h" /* Config causing AfterClose msgs: @@ -135,8 +134,6 @@ void CPropertySheetHelper::SetSlot(UINT slot, SS_CARDTYPE newCardType) GetCardMgr().Insert(slot, newCardType); GetCardMgr().GetRef(slot).InitializeIO(GetCxRomPeripheral()); - if (newCardType == CT_GenericHDD) - dynamic_cast(GetCardMgr().GetRef(slot)).SetUserNumBlocks(g_cmdLine.uHarddiskNumBlocks); } // Used by: