Previous 199869 Revisions Next

r21047 Wednesday 13th February, 2013 at 21:10:44 UTC by Wilbert Pol
[MT05141] Fixed intvkbd from crashing when trying to mount a software list entry. Also fixed a regression in intv crashing when attempting to mount a software list entry.  [Wilbert Pol]
[src/mess/machine]intv.c

trunk/src/mess/machine/intv.c
r21046r21047
574574      }
575575      // deal with wsmlb paged rom
576576
577      UINT8 *ecs_rom_region = m_region_ecs_rom->base();
578577      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)
580579      {
580         UINT8 *ecs_rom_region = m_region_ecs_rom->base();
581
581582         region = image.get_software_region("F000_bank1");
582583         for (int j = 0; j < (size>>1); j++)
583584         {
r21046r21047
829830      memory[0x4800 << 1] = 0xff;
830831      memory[(0x4800 << 1) + 1] = 0xff;
831832
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???
833838   }
834839
835840   if (strcmp(image.device().tag(),":cart2") == 0) /* Keyboard component cartridge slot */

Previous 199869 Revisions Next


© 1997-2024 The MAME Team