src/mess/machine/ataricrt.c
| r7556 | r7557 | |
| 170 | 170 | int size; |
| 171 | 171 | |
| 172 | 172 | /* load an optional (dual) cartridge (e.g. basic.rom) */ |
| 173 | | if( strcmp(image->tag,"cart2") == 0 ) |
| 173 | if( strcmp(image->tag(),"cart2") == 0 ) |
| 174 | 174 | { |
| 175 | 175 | size = image_fread(image, &mem[0x12000], 0x2000); |
| 176 | 176 | a800_cart_is_16k = (size == 0x2000); |
| r7556 | r7557 | |
| 189 | 189 | |
| 190 | 190 | DEVICE_IMAGE_UNLOAD( a800_cart ) |
| 191 | 191 | { |
| 192 | | if( strcmp(image->tag,"cart2") == 0 ) |
| 192 | if( strcmp(image->tag(),"cart2") == 0 ) |
| 193 | 193 | { |
| 194 | 194 | a800_cart_is_16k = 0; |
| 195 | 195 | a800_setbank(image->machine, 1); |