1 |
|
/* |
2 |
|
* IEC.cpp - IEC bus routines, 1541 emulation (DOS level) |
3 |
|
* |
4 |
< |
* Frodo (C) 1994-1997,2002-2003 Christian Bauer |
4 |
> |
* Frodo (C) 1994-1997,2002-2004 Christian Bauer |
5 |
|
* |
6 |
|
* This program is free software; you can redistribute it and/or modify |
7 |
|
* it under the terms of the GNU General Public License as published by |
68 |
|
if (ThePrefs.DriveType[i] == DRVTYPE_DIR) |
69 |
|
drive[i] = new FSDrive(this, ThePrefs.DrivePath[i]); |
70 |
|
else if (ThePrefs.DriveType[i] == DRVTYPE_D64) |
71 |
< |
drive[i] = new D64Drive(this, ThePrefs.DrivePath[i]); |
71 |
> |
drive[i] = new ImageDrive(this, ThePrefs.DrivePath[i]); |
72 |
|
else |
73 |
|
drive[i] = new T64Drive(this, ThePrefs.DrivePath[i]); |
74 |
|
} |
120 |
|
if (prefs->DriveType[i] == DRVTYPE_DIR) |
121 |
|
drive[i] = new FSDrive(this, prefs->DrivePath[i]); |
122 |
|
else if (prefs->DriveType[i] == DRVTYPE_D64) |
123 |
< |
drive[i] = new D64Drive(this, prefs->DrivePath[i]); |
123 |
> |
drive[i] = new ImageDrive(this, prefs->DrivePath[i]); |
124 |
|
else |
125 |
|
drive[i] = new T64Drive(this, prefs->DrivePath[i]); |
126 |
|
} |