summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev
diff options
context:
space:
mode:
author fulivi <fulivi@users.noreply.github.com>2017-06-05 13:39:18 +0200
committer Vas Crabb <cuavas@users.noreply.github.com>2017-06-05 21:39:18 +1000
commit3a2c296e81b072051fe95a34f73785b7df54d8c9 (patch)
tree7bbb1631b1f67c20527046e5823f8c2923e35124 /src/devices/imagedev
parent112af4600f598e527a785969d5059a45275a4746 (diff)
HP9845: improved keyboard mapping & German layout (#2351)
* hp9845: improved keyboard mapping * hp9845: removed log message * hp9845: implemented SHIFT LOCK key. Added pop-ups to show state of toggle keys. Better naming of keys. * hp9845: implemented 45B/45C/45T variants with German keyboard layout * hp9845: updating of softkeys on bezel decoupled from their irq status * hp9845: lowered volume of beeper (was too loud according to A.Kueckes) * floppy: should have been ">=" from the start, ops! * floppy: ops #2! Left a debug printf in.. * hp9845: Added PORT_CHAR macros to characters on German kbd * hp9845: added output to layout LEDs for latching keys * hp9845: removed redundant PORT_NAMEs from German kbd mapping
Diffstat (limited to 'src/devices/imagedev')
-rw-r--r--src/devices/imagedev/floppy.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/imagedev/floppy.cpp b/src/devices/imagedev/floppy.cpp
index 600608ba692..936aaf33314 100644
--- a/src/devices/imagedev/floppy.cpp
+++ b/src/devices/imagedev/floppy.cpp
@@ -738,7 +738,7 @@ uint32_t floppy_image_device::find_position(attotime &base, const attotime &when
}
uint32_t res = (delta*floppy_ratio_1).as_ticks(1000000000/1000);
- if (res > 200000000) {
+ if (res >= 200000000) {
// Due to rounding errors in the previous operation,
// 'res' sometimes overflows 2E+8
res -= 200000000;