mirror of
https://github.com/holub/mame
synced 2025-10-05 08:41:31 +03:00
[MESS] fixed atom cart loading and added fatalerror when tag could not be found - cart doesn't seem to do anything though (nw)
This commit is contained in:
parent
46f3271b45
commit
9641e9a3c5
@ -678,7 +678,7 @@ struct atom_cart_range
|
||||
|
||||
static const struct atom_cart_range atom_cart_table[] =
|
||||
{
|
||||
{ "cart", 0x0000, "a000" },
|
||||
{ ":cart", 0x0000, "a000" },
|
||||
{ "a0", 0x0000, "a000" },
|
||||
{ "a1", 0x1000, "a000" },
|
||||
{ "a2", 0x2000, "a000" },
|
||||
@ -718,6 +718,9 @@ static DEVICE_IMAGE_LOAD( atom_cart )
|
||||
|
||||
this_cart = atom_cart;
|
||||
|
||||
if( !this_cart->tag )
|
||||
fatalerror("tag '%s' could not be found\n", image.device().tag());
|
||||
|
||||
if (image.software_entry() == NULL)
|
||||
{
|
||||
size = image.length();
|
||||
|
Loading…
Reference in New Issue
Block a user