summaryrefslogtreecommitdiffstatshomepage
path: root/src/frontend/mame/ui/info.cpp
diff options
context:
space:
mode:
author AJR <ajrhacker@users.noreply.github.com>2018-11-05 16:02:25 -0500
committer AJR <ajrhacker@users.noreply.github.com>2018-11-05 16:05:51 -0500
commitf07fab41d6a42e311fed5017cc47f077e98cd913 (patch)
tree6292314e91e3b128daf87afd96fdf485eebc983a /src/frontend/mame/ui/info.cpp
parent20e9bfd19f28c7349606441dfcff1db49e31b8ca (diff)
Replace ATTOSECONDS_TO_HZ with as_hz where appropriate (nw)
Diffstat (limited to 'src/frontend/mame/ui/info.cpp')
-rw-r--r--src/frontend/mame/ui/info.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frontend/mame/ui/info.cpp b/src/frontend/mame/ui/info.cpp
index 4a39bc050f5..963dfb5597c 100644
--- a/src/frontend/mame/ui/info.cpp
+++ b/src/frontend/mame/ui/info.cpp
@@ -386,7 +386,7 @@ std::string machine_info::game_info_string() const
detail = string_format("%d " UTF8_MULTIPLY " %d (%s) %f" UTF8_NBSP "Hz",
visarea.width(), visarea.height(),
(screen.orientation() & ORIENTATION_SWAP_XY) ? "V" : "H",
- ATTOSECONDS_TO_HZ(screen.frame_period().attoseconds()));
+ screen.frame_period().as_hz());
}
util::stream_format(buf,