| Previous | 15994 Revisions | Next |
| r7988 Friday 7th May, 2010 at 16:43:50 UTC by Firewave |
|---|
| Removed unused variables |
| [src/mess/devices] | aescart.c cartslot.c coco_232.c coco_fdc.c cococart.c ti99cart.c |
| r7987 | r7988 | |
|---|---|---|
| 1983 | 1983 | static DEVICE_START( ti99_cartridge ) |
| 1984 | 1984 | { |
| 1985 | 1985 | cartslot_t *cart = (cartslot_t *)device->token; |
| 1986 | astring tempstring; | |
| 1987 | 1986 | |
| 1988 | 1987 | /* find the PCB device */ |
| 1989 | 1988 | cart->pcb_device = device->subdevice(TAG_PCB); |
| r7987 | r7988 | |
|---|---|---|
| 253 | 253 | { |
| 254 | 254 | cartslot_t *cart = get_token(device); |
| 255 | 255 | const cartslot_config *config = get_config(device); |
| 256 | astring tempstring; | |
| 257 | 256 | |
| 258 | 257 | /* if this cartridge has a custom DEVICE_START, use it */ |
| 259 | 258 | if (config->device_start != NULL) |
| r7987 | r7988 | |
|---|---|---|
| 228 | 228 | static DEVICE_START(fdc) |
| 229 | 229 | { |
| 230 | 230 | fdc_t *fdc = get_token(device); |
| 231 | astring tempstring; | |
| 232 | 231 | const fdc_hardware_type *hwtype = (const fdc_hardware_type *)device->get_config_ptr(FDCINFO_PTR_HWTYPE); |
| 233 | 232 | |
| 234 | 233 | /* initialize variables */ |
| r7987 | r7988 | |
|---|---|---|
| 54 | 54 | static DEVICE_START(coco_rs232) |
| 55 | 55 | { |
| 56 | 56 | coco_rs232_pcb_t *pak_pcb = get_token(device); |
| 57 | astring tempstring; | |
| 58 | 57 | |
| 59 | 58 | memset(pak_pcb, 0, sizeof(*pak_pcb)); |
| 60 | 59 | pak_pcb->cococart = device->owner->owner; |
| r7987 | r7988 | |
|---|---|---|
| 397 | 397 | static DEVICE_START( aes_cartridge ) |
| 398 | 398 | { |
| 399 | 399 | cartslot_t *cart = (cartslot_t *)device->token; |
| 400 | astring tempstring; | |
| 401 | 400 | |
| 402 | 401 | /* find the PCB device */ |
| 403 | 402 | cart->pcb_device = device->subdevice(TAG_PCB); |
| r7987 | r7988 | |
|---|---|---|
| 84 | 84 | running_device *cartslot; |
| 85 | 85 | coco_cartridge_t *cococart = get_token(device); |
| 86 | 86 | const cococart_config *config = (const cococart_config *) device->baseconfig().inline_config; |
| 87 | astring tempstring; | |
| 88 | 87 | |
| 89 | 88 | /* initialize */ |
| 90 | 89 | memset(cococart, 0, sizeof(*cococart)); |
| Previous | 15994 Revisions | Next |