mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Fix vs2019 build
This commit is contained in:
parent
3e4e28ff0a
commit
7044bdbae6
@ -6,6 +6,7 @@
|
||||
|
||||
***************************************************************************/
|
||||
|
||||
#include "emu.h"
|
||||
#include "pc11.h"
|
||||
|
||||
|
||||
|
@ -17,8 +17,10 @@ iwm_device::iwm_device(const machine_config &mconfig, const char *tag, device_t
|
||||
applefdintf_device(mconfig, IWM, tag, owner, clock),
|
||||
m_q3_clock(q3_clock)
|
||||
{
|
||||
m_q3_fclk_ratio = double(clock)/double(q3_clock); // ~0.25
|
||||
m_fclk_q3_ratio = double(q3_clock)/double(clock); // ~4
|
||||
if (q3_clock != 0)
|
||||
m_q3_fclk_ratio = double(clock)/double(q3_clock); // ~0.25
|
||||
if (clock != 0)
|
||||
m_fclk_q3_ratio = double(q3_clock)/double(clock); // ~4
|
||||
}
|
||||
|
||||
u64 iwm_device::q3_to_fclk(u64 cycles) const
|
||||
|
@ -63,7 +63,7 @@ DEFINE_DEVICE_TYPE(NETLIST_STREAM_OUTPUT, netlist_mame_stream_output_device, "nl
|
||||
// Special netlist extension devices ....
|
||||
// ----------------------------------------------------------------------------------------
|
||||
|
||||
extern plib::dynlib_static_sym nl_static_solver_syms[];
|
||||
extern const plib::dynlib_static_sym nl_static_solver_syms[];
|
||||
|
||||
static netlist::netlist_time_ext nltime_from_attotime(attotime t)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ void spg290_cdservo_device::device_timer(emu_timer &timer, device_timer_id id, i
|
||||
m_irq_cb(ASSERT_LINE);
|
||||
}
|
||||
|
||||
if (m_cur_sector < m_seek_lba + SPG290_LEADIN_LEN and m_cur_sector < m_tot_sectors)
|
||||
if ((m_cur_sector < m_seek_lba + SPG290_LEADIN_LEN) && (m_cur_sector < m_tot_sectors))
|
||||
m_cur_sector++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user