trunk/src/mess/machine/intv.c
| r21046 | r21047 | |
| 574 | 574 | } |
| 575 | 575 | // deal with wsmlb paged rom |
| 576 | 576 | |
| 577 | | UINT8 *ecs_rom_region = m_region_ecs_rom->base(); |
| 578 | 577 | size = image.get_software_region_length("F000_bank1"); |
| 579 | | if (size && ecs_rom_region) // only load if ecs is plugged in (should probably be done a different way) |
| 578 | if (size && m_region_ecs_rom) // only load if ecs is plugged in (should probably be done a different way) |
| 580 | 579 | { |
| 580 | UINT8 *ecs_rom_region = m_region_ecs_rom->base(); |
| 581 | |
| 581 | 582 | region = image.get_software_region("F000_bank1"); |
| 582 | 583 | for (int j = 0; j < (size>>1); j++) |
| 583 | 584 | { |
| r21046 | r21047 | |
| 829 | 830 | memory[0x4800 << 1] = 0xff; |
| 830 | 831 | memory[(0x4800 << 1) + 1] = 0xff; |
| 831 | 832 | |
| 832 | | intv_load_rom_file(image); |
| 833 | if (image.software_entry() == NULL) |
| 834 | { |
| 835 | return intv_load_rom_file(image); |
| 836 | } |
| 837 | // Shouldn't we report failure here??? |
| 833 | 838 | } |
| 834 | 839 | |
| 835 | 840 | if (strcmp(image.device().tag(),":cart2") == 0) /* Keyboard component cartridge slot */ |