mirror of
https://github.com/holub/mame
synced 2025-06-01 02:21:48 +03:00
Fixed ram size regression (no whatsnew)
This commit is contained in:
parent
6f77f33932
commit
5c4409b557
@ -47,7 +47,7 @@ void ram_device::device_start()
|
|||||||
{
|
{
|
||||||
/* the device named 'ram' can get ram options from command line */
|
/* the device named 'ram' can get ram options from command line */
|
||||||
m_size = 0;
|
m_size = 0;
|
||||||
if (strcmp(tag(), RAM_TAG) == 0)
|
if (strcmp(tag(), ":" RAM_TAG) == 0)
|
||||||
{
|
{
|
||||||
const char *ramsize_string = machine().options().ram_size();
|
const char *ramsize_string = machine().options().ram_size();
|
||||||
if ((ramsize_string != NULL) && (ramsize_string[0] != '\0'))
|
if ((ramsize_string != NULL) && (ramsize_string[0] != '\0'))
|
||||||
|
Loading…
Reference in New Issue
Block a user