diff options
author | 2012-01-16 11:06:28 +0000 | |
---|---|---|
committer | 2012-01-16 11:06:28 +0000 | |
commit | 59d84eb1b05c653c1e5c727e648e807bc8340baf (patch) | |
tree | 837413310dbe2d9b678860c072206bb244e8e693 /src/emu/ui.c | |
parent | 051af55fa90955e11ba7fb08b586ba3227c4f7d1 (diff) |
Fix several rendering issues with artwork, introduced in the
recent changes.
Also, did a pass through the code to take advantage of new
methods available on rectangles.
Diffstat (limited to 'src/emu/ui.c')
-rw-r--r-- | src/emu/ui.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/ui.c b/src/emu/ui.c index 59a6158ae39..bdea3a453d2 100644 --- a/src/emu/ui.c +++ b/src/emu/ui.c @@ -1110,8 +1110,7 @@ astring &game_info_astring(running_machine &machine, astring &string) const rectangle &visarea = screen->visible_area(); string.catprintf("%d " UTF8_MULTIPLY " %d (%s) %f" UTF8_NBSP "Hz\n", - visarea.max_x - visarea.min_x + 1, - visarea.max_y - visarea.min_y + 1, + visarea.width(), visarea.height(), (machine.system().flags & ORIENTATION_SWAP_XY) ? "V" : "H", ATTOSECONDS_TO_HZ(screen->frame_period().attoseconds)); } |