summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/amigafdc.h
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2014-07-02 18:44:14 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2014-07-02 18:44:14 +0000
commit1da9d1b6a46a1df41a440ff4c91cc1501618e314 (patch)
treec9808e525d10815e04b94ed0575e2c1e11829a42 /src/emu/machine/amigafdc.h
parentd4b13a88ccce20011c74c8faf48d4c027664b055 (diff)
first batch of passing attotime as const reference instead of copy - where possible (nw)
Diffstat (limited to 'src/emu/machine/amigafdc.h')
-rw-r--r--src/emu/machine/amigafdc.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/emu/machine/amigafdc.h b/src/emu/machine/amigafdc.h
index c2e71a269c1..4a5b380d1a7 100644
--- a/src/emu/machine/amigafdc.h
+++ b/src/emu/machine/amigafdc.h
@@ -66,13 +66,13 @@ private:
attotime write_buffer[32];
int write_position;
- void set_clock(attotime period);
- void reset(attotime when);
- int get_next_bit(attotime &tm, floppy_image_device *floppy, attotime limit);
- bool write_next_bit(bool bit, attotime &tm, floppy_image_device *floppy, attotime limit);
- void start_writing(attotime tm);
- void commit(floppy_image_device *floppy, attotime tm);
- void stop_writing(floppy_image_device *floppy, attotime tm);
+ void set_clock(const attotime &period);
+ void reset(const attotime &when);
+ int get_next_bit(attotime &tm, floppy_image_device *floppy, const attotime &limit);
+ bool write_next_bit(bool bit, attotime &tm, floppy_image_device *floppy, const attotime &limit);
+ void start_writing(const attotime &tm);
+ void commit(floppy_image_device *floppy, const attotime &tm);
+ void stop_writing(floppy_image_device *floppy, const attotime &tm);
};
struct live_info {
@@ -111,7 +111,7 @@ private:
void live_delay(int state);
void live_sync();
void live_abort();
- void live_run(attotime limit = attotime::never);
+ void live_run(const attotime &limit = attotime::never);
};
extern const device_type AMIGA_FDC;