mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
pass attotime as const reference (nw)
This commit is contained in:
parent
aa3b457f35
commit
7dc3254647
@ -233,7 +233,7 @@ void c8050_fdc_t::live_start()
|
||||
live_run();
|
||||
}
|
||||
|
||||
void c8050_fdc_t::pll_reset(const attotime &when, const attotime clock)
|
||||
void c8050_fdc_t::pll_reset(const attotime &when, const attotime &clock)
|
||||
{
|
||||
cur_pll.reset(when);
|
||||
cur_pll.set_clock(clock);
|
||||
|
@ -142,7 +142,7 @@ protected:
|
||||
void live_start();
|
||||
void checkpoint();
|
||||
void rollback();
|
||||
void pll_reset(const attotime &when, const attotime clock);
|
||||
void pll_reset(const attotime &when, const attotime &clock);
|
||||
void pll_start_writing(const attotime &tm);
|
||||
void pll_commit(floppy_image_device *floppy, const attotime &tm);
|
||||
void pll_stop_writing(floppy_image_device *floppy, const attotime &tm);
|
||||
|
@ -570,7 +570,7 @@ void hdc9234_device::wait_time(emu_timer *tm, int microsec, int next_substate)
|
||||
m_substate = next_substate;
|
||||
}
|
||||
|
||||
void hdc9234_device::wait_time(emu_timer *tm, attotime delay, int param)
|
||||
void hdc9234_device::wait_time(emu_timer *tm, const attotime &delay, int param)
|
||||
{
|
||||
if (TRACE_DELAY) logerror("%s: [%s] Delaying by %4.2f microsecs\n", tag(), ttsn().cstr(), delay.as_double()*1000000);
|
||||
tm->adjust(delay);
|
||||
|
@ -173,7 +173,7 @@ private:
|
||||
|
||||
// Wait for some time to pass or for a line to change level
|
||||
void wait_time(emu_timer *tm, int microsec, int next_substate);
|
||||
void wait_time(emu_timer *tm, attotime delay, int param);
|
||||
void wait_time(emu_timer *tm, const attotime &delay, int param);
|
||||
void wait_line(int line, line_state level, int substate, bool stopwrite);
|
||||
|
||||
// Converts attotime to a string
|
||||
|
@ -1076,7 +1076,7 @@ void victor_9000_fdc_t::live_start()
|
||||
live_run();
|
||||
}
|
||||
|
||||
void victor_9000_fdc_t::pll_reset(const attotime &when, const attotime clock)
|
||||
void victor_9000_fdc_t::pll_reset(const attotime &when, const attotime &clock)
|
||||
{
|
||||
cur_pll.reset(when);
|
||||
cur_pll.set_clock(clock);
|
||||
|
@ -221,7 +221,7 @@ private:
|
||||
|
||||
floppy_image_device* get_floppy();
|
||||
void live_start();
|
||||
void pll_reset(const attotime &when, const attotime clock);
|
||||
void pll_reset(const attotime &when, const attotime &clock);
|
||||
void pll_start_writing(const attotime &tm);
|
||||
void pll_commit(floppy_image_device *floppy, const attotime &tm);
|
||||
void pll_stop_writing(floppy_image_device *floppy, const attotime &tm);
|
||||
|
Loading…
Reference in New Issue
Block a user