More MESS-specific changes (this code should be factored out of MAME)

This commit is contained in:
Nathan Woods 2008-03-30 23:30:43 +00:00
parent 6c238b4395
commit 6bc1249cb8
2 changed files with 12 additions and 12 deletions

View File

@ -36,16 +36,16 @@ MACHINE_START( a800xl );
MACHINE_START( a5200 );
#ifdef MESS
DEVICE_LOAD( a800_floppy );
DEVICE_IMAGE_LOAD( a800_floppy );
DEVICE_LOAD( a800_cart );
DEVICE_UNLOAD( a800_cart );
DEVICE_IMAGE_LOAD( a800_cart );
DEVICE_IMAGE_UNLOAD( a800_cart );
DEVICE_LOAD( a800xl_cart );
DEVICE_UNLOAD( a800xl_cart );
DEVICE_IMAGE_LOAD( a800xl_cart );
DEVICE_IMAGE_UNLOAD( a800xl_cart );
DEVICE_LOAD( a5200_cart );
DEVICE_UNLOAD( a5200_cart );
DEVICE_IMAGE_LOAD( a5200_cart );
DEVICE_IMAGE_UNLOAD( a5200_cart );
#endif
READ8_HANDLER ( atari_serin_r );

View File

@ -838,7 +838,7 @@ MACHINE_START( a800 )
#ifdef MESS
DEVICE_LOAD( a800_cart )
DEVICE_IMAGE_LOAD( a800_cart )
{
UINT8 *mem = memory_region(REGION_CPU1);
int size;
@ -861,7 +861,7 @@ DEVICE_LOAD( a800_cart )
return INIT_PASS;
}
DEVICE_UNLOAD( a800_cart )
DEVICE_IMAGE_UNLOAD( a800_cart )
{
if( image_index_in_device(image) > 0 )
{
@ -892,7 +892,7 @@ MACHINE_START( a800xl )
#ifdef MESS
DEVICE_LOAD( a800xl_cart )
DEVICE_IMAGE_LOAD( a800xl_cart )
{
UINT8 *mem = memory_region(REGION_CPU1);
astring *fname;
@ -949,7 +949,7 @@ MACHINE_START( a5200 )
#ifdef MESS
DEVICE_LOAD( a5200_cart )
DEVICE_IMAGE_LOAD( a5200_cart )
{
UINT8 *mem = memory_region(REGION_CPU1);
int size;
@ -976,7 +976,7 @@ DEVICE_LOAD( a5200_cart )
return INIT_PASS;
}
DEVICE_UNLOAD( a5200_cart )
DEVICE_IMAGE_UNLOAD( a5200_cart )
{
UINT8 *mem = memory_region(REGION_CPU1);
/* zap the cartridge memory (again) */