diff options
Diffstat (limited to 'src/emu/info.c')
-rw-r--r-- | src/emu/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/emu/info.c b/src/emu/info.c index ccbf32947e0..e9f15949c33 100644 --- a/src/emu/info.c +++ b/src/emu/info.c @@ -681,8 +681,8 @@ void info_xml_creator::output_display() if (device->screen_type() != SCREEN_TYPE_VECTOR) { const rectangle &visarea = device->visible_area(); - fprintf(m_output, " width=\"%d\"", visarea.max_x - visarea.min_x + 1); - fprintf(m_output, " height=\"%d\"", visarea.max_y - visarea.min_y + 1); + fprintf(m_output, " width=\"%d\"", visarea.width()); + fprintf(m_output, " height=\"%d\"", visarea.height()); } // output refresh rate |