From 1fa26eac08369a3b7e71248d3c911b26f3eeba47 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Wed, 16 May 2012 08:58:52 +0000 Subject: [PATCH] fixed ram size validation regression (no whatsnew) --- src/emu/machine/ram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emu/machine/ram.c b/src/emu/machine/ram.c index a70aef5dfc0..047bf289950 100644 --- a/src/emu/machine/ram.c +++ b/src/emu/machine/ram.c @@ -87,7 +87,7 @@ void ram_device::device_validity_check(validity_checker &valid) const mame_printf_error("Invalid default RAM option: %s\n", m_default_size); /* command line options are only parsed for the device named RAM_TAG */ - if (tag() != NULL && strcmp(tag(), RAM_TAG) == 0) + if (tag() != NULL && strcmp(tag(), ":" RAM_TAG) == 0) { /* verify command line ram option */ ramsize_string = mconfig().options().ram_size();