for(DEVICE* device = first_device; device; device = device->next_device) {
device->initialize();
}
+ for(int drv = 0; drv < USE_HARD_DISK; drv++) {
+ if(!(config.last_hard_disk_path[drv][0] != _T('\0') && FILEIO::IsFileExisting(config.last_hard_disk_path[drv]))) {
+ create_local_path(config.last_hard_disk_path[drv], _MAX_PATH, _T("SASI%d.DAT"), drv);
+ }
+ }
}
VM::~VM()
delete device;
device = next_device;
}
- for(int drv = 0; drv < USE_HARD_DISK; drv++) {
- if(!(config.last_hard_disk_path[drv][0] != _T('\0') && FILEIO::IsFileExisting(config.last_hard_disk_path[drv]))) {
- create_local_path(config.last_hard_disk_path[drv], _MAX_PATH, _T("SASI%d.DAT"), drv);
- }
- }
}
DEVICE* VM::get_device(int id)