Remove redundant Initialize()
This commit is contained in:
parent
7c04c2c51e
commit
aa1e4cab09
3 changed files with 1 additions and 14 deletions
|
@ -1522,9 +1522,6 @@ int APIENTRY WinMain(HINSTANCE passinstance, HINSTANCE, LPSTR lpCmdLine, int)
|
|||
ImageInitialize();
|
||||
LogFileOutput("Init: ImageInitialize()\n");
|
||||
|
||||
sg_DiskIICard.Initialize();
|
||||
LogFileOutput("Init: DiskInitialize()\n");
|
||||
|
||||
//
|
||||
|
||||
do
|
||||
|
|
|
@ -528,15 +528,6 @@ void DiskIIInterfaceCard::GetLightStatus(Disk_Status_e *pDisk1Status, Disk_Statu
|
|||
|
||||
//===========================================================================
|
||||
|
||||
void DiskIIInterfaceCard::Initialize(void)
|
||||
{
|
||||
int loop = NUM_DRIVES;
|
||||
while (loop--)
|
||||
m_floppyDrive[loop].clear();
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
|
||||
ImageError_e DiskIIInterfaceCard::InsertDisk(const int drive, LPCTSTR pszImageFilename, const bool bForceWriteProtected, const bool bCreateIfNecessary)
|
||||
{
|
||||
Drive_t* pDrive = &m_floppyDrive[drive];
|
||||
|
|
|
@ -107,7 +107,6 @@ public:
|
|||
DiskIIInterfaceCard(void);
|
||||
virtual ~DiskIIInterfaceCard(void){};
|
||||
|
||||
void Initialize(void); // 2x Initialize() funcs!
|
||||
void Initialize(LPBYTE pCxRomPeripheral, UINT uSlot);
|
||||
void Destroy(void); // no, doesn't "destroy" the disk image. DiskIIManagerShutdown()
|
||||
|
||||
|
@ -136,7 +135,7 @@ public:
|
|||
int GetCurrentOffset(void);
|
||||
LPCTSTR GetCurrentState(void);
|
||||
bool UserSelectNewDiskImage(const int drive, LPCSTR pszFilename="");
|
||||
void UpdateDriveState(DWORD);
|
||||
void UpdateDriveState(DWORD cycles);
|
||||
bool DriveSwap(void);
|
||||
|
||||
std::string GetSnapshotCardName(void);
|
||||
|
|
Loading…
Add table
Reference in a new issue