diff options
author | 2021-01-18 01:42:28 +1100 | |
---|---|---|
committer | 2021-01-18 01:42:28 +1100 | |
commit | 6e1bbe8be89349038995df2aaa4f11019439e39e (patch) | |
tree | a7f53cb785df09e4e0fdabc659ddaa5893e5a8eb /src/emu/attotime.h | |
parent | bb7b375aa64da9c408f8070fe11639f614582647 (diff) |
-osd: Clean up inline maths utilities.
* Removed inline assembly for operations compilers handle well.
* Added ARM and AArch64 implementation for a few operations.
* Added unsigned integer add with carry out operations.
-cpu/drccache.cpp: Detect whether RWX pages are supported.
-dynax.cpp: Improved a few hanafuda DIP switch descriptions.
Diffstat (limited to 'src/emu/attotime.h')
-rw-r--r-- | src/emu/attotime.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/attotime.h b/src/emu/attotime.h index be75c48615c..c6fa441733c 100644 --- a/src/emu/attotime.h +++ b/src/emu/attotime.h @@ -357,7 +357,7 @@ inline attotime attotime::from_ticks(u64 ticks, u32 frequency) return attotime(0, ticks * attos_per_tick); u32 remainder; - s32 secs = divu_64x32_rem(ticks, frequency, &remainder); + s32 secs = divu_64x32_rem(ticks, frequency, remainder); return attotime(secs, u64(remainder) * attos_per_tick); } else |