summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/bfm_comn.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/bfm_comn.c')
-rw-r--r--src/mame/machine/bfm_comn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/bfm_comn.c b/src/mame/machine/bfm_comn.c
index edc6ce0d84f..65196d54b5d 100644
--- a/src/mame/machine/bfm_comn.c
+++ b/src/mame/machine/bfm_comn.c
@@ -27,7 +27,7 @@ void bfm_decode_mainrom(running_machine &machine, const char *rom_region, UINT8*
dynamic_buffer tmp(0x10000);
int i;
- memcpy(tmp, rom, 0x10000);
+ memcpy(&tmp[0], rom, 0x10000);
for ( i = 0; i < 256; i++ )
{