summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/spchrom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/spchrom.cpp')
-rw-r--r--src/devices/machine/spchrom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/spchrom.cpp b/src/devices/machine/spchrom.cpp
index a49590e9e00..542be5b4ded 100644
--- a/src/devices/machine/spchrom.cpp
+++ b/src/devices/machine/spchrom.cpp
@@ -26,7 +26,7 @@
const device_type SPEECHROM = &device_creator<speechrom_device>;
speechrom_device::speechrom_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
- : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__),
+ : device_t(mconfig, SPEECHROM, "SPEECHROM", tag, owner, clock, "speechrom", __FILE__), m_speechrom_data(nullptr), m_speechROMlen(0),
m_speechROMaddr(0),
m_load_pointer(0),
m_ROM_bits_count(0),
@@ -125,7 +125,7 @@ void speechrom_device::read_and_branch()
void speechrom_device::device_start()
{
memory_region *region = memregion(tag());
- if (region == NULL)
+ if (region == nullptr)
{
throw emu_fatalerror("No region for device '%s'\n", tag());
}