src/mess/machine/bbc.c
| r7554 | r7555 | |
| 1999 | 1999 | |
| 2000 | 2000 | size = image_length (image); |
| 2001 | 2001 | |
| 2002 | | if (strcmp(image->tag,"cart1") == 0) |
| 2002 | if (strcmp(image->tag(),"cart1") == 0) |
| 2003 | 2003 | { |
| 2004 | 2004 | index = 0; |
| 2005 | 2005 | } |
| 2006 | | if (strcmp(image->tag,"cart2") == 0) |
| 2006 | if (strcmp(image->tag(),"cart2") == 0) |
| 2007 | 2007 | { |
| 2008 | 2008 | index = 1; |
| 2009 | 2009 | } |
| 2010 | | if (strcmp(image->tag,"cart3") == 0) |
| 2010 | if (strcmp(image->tag(),"cart3") == 0) |
| 2011 | 2011 | { |
| 2012 | 2012 | index = 2; |
| 2013 | 2013 | } |
| 2014 | | if (strcmp(image->tag,"cart4") == 0) |
| 2014 | if (strcmp(image->tag(),"cart4") == 0) |
| 2015 | 2015 | { |
| 2016 | 2016 | index = 3; |
| 2017 | 2017 | } |