mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-21 23:16:39 +00:00
Cards: remove special call to InitializeIO() for Disk and Harddisk. (PR #1061)
This commit is contained in:
@@ -28,6 +28,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
#include "../Windows/AppleWin.h" // g_nAppMode, g_uScrollLockToggle, sg_PropertySheet
|
||||
#include "../CardManager.h"
|
||||
#include "../Memory.h"
|
||||
#include "../Disk.h"
|
||||
#include "../Log.h"
|
||||
#include "../Registry.h"
|
||||
@@ -130,6 +131,7 @@ void CPropertySheetHelper::SetSlot(UINT slot, SS_CARDTYPE newCardType)
|
||||
return;
|
||||
|
||||
GetCardMgr().Insert(slot, newCardType);
|
||||
GetCardMgr().GetRef(slot).InitializeIO(GetCxRomPeripheral());
|
||||
}
|
||||
|
||||
// Used by:
|
||||
|
||||
Reference in New Issue
Block a user