diexec: remove unneeded memset on attotime object in constructor

This commit is contained in:
hap 2024-03-28 15:33:09 +01:00
parent e9d7aa17c7
commit 6583232209
2 changed files with 2 additions and 5 deletions

View File

@ -70,8 +70,6 @@ device_execute_interface::device_execute_interface(const machine_config &mconfig
, m_attoseconds_per_cycle(0)
, m_spin_end_timer(nullptr)
{
memset(&m_localtime, 0, sizeof(m_localtime));
// configure the fast accessor
assert(!device.interfaces().m_execute);
device.interfaces().m_execute = this;

View File

@ -1,7 +1,6 @@
// license:BSD-3-Clause
// copyright-holders:Nicola Salmoria
#include "machine/input_merger.h"
#include "sound/ay8910.h"
#include "sound/dac.h"
@ -16,8 +15,8 @@
class taitosj_state : public driver_device
{
public:
taitosj_state(const machine_config &mconfig, device_type type, const char *tag)
: driver_device(mconfig, type, tag),
taitosj_state(const machine_config &mconfig, device_type type, const char *tag) :
driver_device(mconfig, type, tag),
m_videoram(*this, "videoram_%u", 1U),
m_spriteram(*this, "spriteram"),
m_paletteram(*this, "paletteram"),