summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/deco156.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/deco156.c')
-rw-r--r--src/mame/machine/deco156.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/deco156.c b/src/mame/machine/deco156.c
index 110d7ad8a83..3985b7aa222 100644
--- a/src/mame/machine/deco156.c
+++ b/src/mame/machine/deco156.c
@@ -126,8 +126,8 @@ void deco156_decrypt(running_machine &machine)
{
UINT32 *rom = (UINT32 *)machine.root_device().memregion("maincpu")->base();
int length = machine.root_device().memregion("maincpu")->bytes();
- dynamic_array<UINT32> buf(length/4);
+ std::vector<UINT32> buf(length/4);
- memcpy(buf, rom, length);
- decrypt(buf, rom, length);
+ memcpy(&buf[0], rom, length);
+ decrypt(&buf[0], rom, length);
}