pass attotime as const reference (nw)

This commit is contained in:
Oliver Stöneberg 2015-04-07 19:18:41 +02:00
parent aa3b457f35
commit 7dc3254647
6 changed files with 6 additions and 6 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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

View File

@ -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);

View File

@ -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);