summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Nathan Woods <npwoods@mess.org>2008-06-23 12:22:08 +0000
committer Nathan Woods <npwoods@mess.org>2008-06-23 12:22:08 +0000
commit480ed677c27b6a9c49d4a1cc80c74e61861904a4 (patch)
treea56e7ddc02bab5e99676037daff05342a0484ba6
parent57c35a0efcd7e1d22b416f34dd58d51673536152 (diff)
MESS-specific changes
-rw-r--r--src/mame/machine/atari.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mame/machine/atari.c b/src/mame/machine/atari.c
index 4eb264d6f17..58e3d7ef337 100644
--- a/src/mame/machine/atari.c
+++ b/src/mame/machine/atari.c
@@ -835,7 +835,7 @@ MACHINE_START( a800 )
#ifdef MESS
DEVICE_IMAGE_LOAD( a800_cart )
{
- UINT8 *mem = memory_region(machine, REGION_CPU1);
+ UINT8 *mem = memory_region(image->machine, REGION_CPU1);
int size;
/* load an optional (dual) cartridge (e.g. basic.rom) */
@@ -889,7 +889,7 @@ MACHINE_START( a800xl )
#ifdef MESS
DEVICE_IMAGE_LOAD( a800xl_cart )
{
- UINT8 *mem = memory_region(machine, REGION_CPU1);
+ UINT8 *mem = memory_region(image->machine, REGION_CPU1);
astring *fname;
mame_file *basic_fp;
file_error filerr;
@@ -946,7 +946,7 @@ MACHINE_START( a5200 )
#ifdef MESS
DEVICE_IMAGE_LOAD( a5200_cart )
{
- UINT8 *mem = memory_region(machine, REGION_CPU1);
+ UINT8 *mem = memory_region(image->machine, REGION_CPU1);
int size;
/* load an optional (dual) cartidge */
@@ -973,8 +973,8 @@ DEVICE_IMAGE_LOAD( a5200_cart )
DEVICE_IMAGE_UNLOAD( a5200_cart )
{
- UINT8 *mem = memory_region(machine, REGION_CPU1);
- /* zap the cartridge memory (again) */
+ UINT8 *mem = memory_region(image->machine, REGION_CPU1);
+ /* zap the cartridge memory (again) */
memset(&mem[0x4000], 0x00, 0x8000);
}
#endif