Previous 15994 Revisions Next

r8255 Wednesday 9th June, 2010 at 21:47:08 UTC by Michael Zapf
Increased pcb_types array; fixed astring_free issue
[src/mess/devices]cartslot.h multcart.c

src/mess/devices/cartslot.h
r8254r8255
5959   device_image_load_func         device_load;
6060   device_image_unload_func      device_unload;
6161   device_image_partialhash_func   device_partialhash;
62   cartslot_pcb_type            pcb_types[8];
62   cartslot_pcb_type            pcb_types[16];
6363};
6464
6565
src/mess/devices/multcart.c
r8254r8255
254254         /* Save the file name so that we can write the contents on unloading.
255255               If the RAM resource has no filename, we know that it was volatile only. */
256256         resource->filename = pool_strdup_lib(state->multicart->data->pool, astring_c(ram_pathname));
257         astring_free(ram_pathname);
257
258258         if (resource->filename == NULL)
259259            return MCERR_OUT_OF_MEMORY;
260260

Previous 15994 Revisions Next


© 1998-2018 The MESS Team