Fixed ram size regression (no whatsnew)

This commit is contained in:
Miodrag Milanovic 2012-01-25 11:10:18 +00:00
parent 6f77f33932
commit 5c4409b557

View File

@ -47,7 +47,7 @@ void ram_device::device_start()
{
/* the device named 'ram' can get ram options from command line */
m_size = 0;
if (strcmp(tag(), RAM_TAG) == 0)
if (strcmp(tag(), ":" RAM_TAG) == 0)
{
const char *ramsize_string = machine().options().ram_size();
if ((ramsize_string != NULL) && (ramsize_string[0] != '\0'))