Previous 15994 Revisions Next

r3980 Wednesday 24th December, 2008 at 19:08:29 UTC by Wilbert Pol
mame/machine/atari.c fix for cartslot device.
[src/mame/machine]atari.c

src/mame/machine/atari.c
r3979r3980
839839   int size;
840840
841841   /* load an optional (dual) cartridge (e.g. basic.rom) */
842   if( image_index_in_device(image) > 0 )
842   if( strcmp(image->tag,"cart2") == 0 )
843843   {
844844      size = image_fread(image, &mem[0x12000], 0x2000);
845845      a800_cart_is_16k = (size == 0x2000);
r3979r3980
858858
859859DEVICE_IMAGE_UNLOAD( a800_cart )
860860{
861   if( image_index_in_device(image) > 0 )
861   if( strcmp(image->tag,"cart2") == 0 )
862862   {
863863      a800_cart_is_16k = 0;
864864      a800_setbank(image->machine, 1);

Previous 15994 Revisions Next


© 1998-2018 The MESS Team