Reverted change to PropertySheetHelper.cpp
Removing call to SetUserNumBlocks that wasn't required.
This commit is contained in:
parent
2927a10865
commit
1c2a6032a4
|
@ -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<HarddiskInterfaceCard&>(GetCardMgr().GetRef(slot)).SetUserNumBlocks(g_cmdLine.uHarddiskNumBlocks);
|
||||
}
|
||||
|
||||
// Used by:
|
||||
|
|
Loading…
Reference in New Issue