summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/popeye.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/popeye.c')
-rw-r--r--src/mame/drivers/popeye.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/popeye.c b/src/mame/drivers/popeye.c
index 25e4d947a24..f82f449c731 100644
--- a/src/mame/drivers/popeye.c
+++ b/src/mame/drivers/popeye.c
@@ -668,7 +668,7 @@ static DRIVER_INIT( skyskipr )
int len = 0x10000;
/* decrypt the program ROMs */
- buffer = malloc_or_die(len);
+ buffer = alloc_array_or_die(UINT8, len);
{
int i;
for (i = 0;i < len; i++)
@@ -689,7 +689,7 @@ static DRIVER_INIT( popeye )
int len = 0x10000;
/* decrypt the program ROMs */
- buffer = malloc_or_die(len);
+ buffer = alloc_array_or_die(UINT8, len);
{
int i;
for (i = 0;i < len; i++)