Previous 199869 Revisions Next

r19948 Sunday 30th December, 2012 at 16:21:28 UTC by Oliver Stöneberg
[MESS] use proper DEVICE_IMAGE_LOAD errorhandling for atom (nw)
[src/mess/drivers]atom.c

trunk/src/mess/drivers/atom.c
r19947r19948
719719   this_cart = atom_cart;
720720
721721   if( !this_cart->tag )
722      fatalerror("tag '%s' could not be found\n", image.device().tag());
722   {
723      astring errmsg;
724      errmsg.printf("Tag '%s' could not be found", image.device().tag());
725      image.seterror(IMAGE_ERROR_UNSPECIFIED, errmsg.cstr());
726      return IMAGE_INIT_FAIL;
727   }
723728
724729   if (image.software_entry() == NULL)
725730   {

Previous 199869 Revisions Next


© 1997-2024 The MAME Team