mirror of
https://github.com/holub/mame
synced 2025-05-22 13:48:55 +03:00
fixed building with MSVC
This commit is contained in:
parent
b987e8d872
commit
0407502760
@ -288,14 +288,14 @@ netlist_base_t::~netlist_base_t()
|
|||||||
void netlist_base_t::set_clock_freq(int clockfreq)
|
void netlist_base_t::set_clock_freq(int clockfreq)
|
||||||
{
|
{
|
||||||
m_clockfreq = clockfreq;
|
m_clockfreq = clockfreq;
|
||||||
m_divisor = U64(1000000000) * 100 / m_clockfreq / m_gatedelay;
|
m_divisor = U64(100000000000) / m_clockfreq / m_gatedelay;
|
||||||
VERBOSE_OUT(("Divisor %d\n", m_divisor));
|
VERBOSE_OUT(("Divisor %d\n", m_divisor));
|
||||||
}
|
}
|
||||||
|
|
||||||
void netlist_base_t::set_gatedelay(int gatedelay)
|
void netlist_base_t::set_gatedelay(int gatedelay)
|
||||||
{
|
{
|
||||||
m_gatedelay = gatedelay;
|
m_gatedelay = gatedelay;
|
||||||
m_divisor = U64(1000000000) * 100 / m_clockfreq / m_gatedelay;
|
m_divisor = U64(100000000000) / m_clockfreq / m_gatedelay;
|
||||||
VERBOSE_OUT(("Divisor %d\n", m_divisor));
|
VERBOSE_OUT(("Divisor %d\n", m_divisor));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user