| 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 |
| r8254 | r8255 | |
|---|---|---|
| 59 | 59 | device_image_load_func device_load; |
| 60 | 60 | device_image_unload_func device_unload; |
| 61 | 61 | device_image_partialhash_func device_partialhash; |
| 62 | cartslot_pcb_type pcb_types[ | |
| 62 | cartslot_pcb_type pcb_types[16]; | |
| 63 | 63 | }; |
| 64 | 64 | |
| 65 | 65 |
| r8254 | r8255 | |
|---|---|---|
| 254 | 254 | /* Save the file name so that we can write the contents on unloading. |
| 255 | 255 | If the RAM resource has no filename, we know that it was volatile only. */ |
| 256 | 256 | resource->filename = pool_strdup_lib(state->multicart->data->pool, astring_c(ram_pathname)); |
| 257 | ||
| 257 | ||
| 258 | 258 | if (resource->filename == NULL) |
| 259 | 259 | return MCERR_OUT_OF_MEMORY; |
| 260 | 260 |
| Previous | 15994 Revisions | Next |