diff options
author | Tauwasser <tauwasser@tauwasser.eu> | 2017-06-20 01:29:08 +0200 |
---|---|---|
committer | Tauwasser <tauwasser@tauwasser.eu> | 2017-06-21 15:27:40 +0200 |
commit | c86658480b26b612573c04464a9e777a176f79d7 (patch) | |
tree | e3733f190e9eb45f2730eb93a9b2e9479e7566db | |
parent | 0210c872223769b33a47b353fcbcf85a2a725668 (diff) |
gameboy: MBC3 init rtc_enabled field in ctor
Fixes coverity #159877
Signed-off-by: Tauwasser <tauwasser@tauwasser.eu>
-rw-r--r-- | src/devices/bus/gameboy/mbc.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/bus/gameboy/mbc.cpp b/src/devices/bus/gameboy/mbc.cpp index 5bcc83377f3..5f867933516 100644 --- a/src/devices/bus/gameboy/mbc.cpp +++ b/src/devices/bus/gameboy/mbc.cpp @@ -64,6 +64,7 @@ gb_rom_mbc2_device::gb_rom_mbc2_device(const machine_config &mconfig, const char gb_rom_mbc3_device::gb_rom_mbc3_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : gb_rom_mbc_device(mconfig, GB_ROM_MBC3, tag, owner, clock) + , m_rtc_ready(0) { } |