From a414d8ec4274c1251a6077db20e650ca915a83f2 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Sat, 23 Jan 2016 18:37:44 +0100 Subject: [PATCH] fix compile (nw) --- src/devices/sound/scsp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/sound/scsp.cpp b/src/devices/sound/scsp.cpp index e082a68aca1..6dfacfa9a6b 100644 --- a/src/devices/sound/scsp.cpp +++ b/src/devices/sound/scsp.cpp @@ -518,7 +518,7 @@ void scsp_device::init() memory_region* ram_region = memregion(tag()); // coolridr.c defines a region for the RAM, stv.c doesn't (uses set_ram_base instead, which seems to be more correct anyway?) - if (ram_regon != NULL) + if (ram_region != NULL) { m_SCSPRAM = ram_region->base(); m_SCSPRAM_LENGTH = ram_region->bytes();