Previous 15994 Revisions Next

r2486 Saturday 26th April, 2008 at 18:33:28 UTC by Nathan Woods
[PC] Fixed error reporting when loading non-existant images
[docs]messnew.txt
[src/mess/devices]harddriv.c

src/mess/devices/harddriv.c
r2485r2486
172172}
173173
174174
175#ifdef UNUSED_FUNCTION
176175static DEVICE_IMAGE_CREATE( mess_hd )
177176{
178177   int err;
r2485r2486
199198error:
200199   return INIT_FAIL;
201200}
202#endif
203201
204202
203
205204/*************************************
206205 *
207206 *   DEVICE_IMAGE_UNLOAD_NAME(mess_hd)
r2485r2486
272271      /* --- the following bits of info are returned as 64-bit signed integers --- */
273272      case MESS_DEVINFO_INT_TYPE:                  info->i = IO_HARDDISK; break;
274273      case MESS_DEVINFO_INT_READABLE:               info->i = 1; break;
275      case MESS_DEVINFO_INT_WRITEABLE:               info->i = 1; break;
276      case MESS_DEVINFO_INT_CREATABLE:               info->i = 1; break;
274      case MESS_DEVINFO_INT_WRITEABLE:            info->i = 1; break;
275      case MESS_DEVINFO_INT_CREATABLE:            info->i = 0; break;
277276      case MESS_DEVINFO_INT_CREATE_OPTCOUNT:         info->i = 1; break;
278277
279278      /* --- the following bits of info are returned as pointers to data or functions --- */
280279      case MESS_DEVINFO_PTR_START:                  info->start = DEVICE_START_NAME(mess_hd); break;
281280      case MESS_DEVINFO_PTR_LOAD:                  info->load = DEVICE_IMAGE_LOAD_NAME(mess_hd); break;
282281      case MESS_DEVINFO_PTR_UNLOAD:               info->unload = DEVICE_IMAGE_UNLOAD_NAME(mess_hd); break;
282      case MESS_DEVINFO_PTR_CREATE:               info->create = DEVICE_IMAGE_CREATE_NAME(mess_hd); break;
283283      case MESS_DEVINFO_PTR_CREATE_OPTGUIDE:         info->p = (void *) mess_hd_option_guide; break;
284284      case MESS_DEVINFO_PTR_CREATE_OPTSPEC+0:         info->p = (void *) mess_hd_option_spec;
285285
docs/messnew.txt
r2485r2486
4848
4949- [ORION] Added cassete loading [Miodrag Milanovic]
5050
51- [PC] Fixed error reporting when loading non-existant images.  [Nate Woods]
52
5153- [SPECIAL] Added Erik clone, and fixed bank switch problem [Miodrag Milanovic]
5254
5355- [T1000HX] Fixed bug #1130.  [Wilbert Pol]

Previous 15994 Revisions Next


© 1998-2018 The MESS Team