summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/monitor/monitor_module.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/monitor/monitor_module.h')
-rw-r--r--src/osd/modules/monitor/monitor_module.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/osd/modules/monitor/monitor_module.h b/src/osd/modules/monitor/monitor_module.h
index 3244e7fd42b..38e7e02fec2 100644
--- a/src/osd/modules/monitor/monitor_module.h
+++ b/src/osd/modules/monitor/monitor_module.h
@@ -8,6 +8,7 @@
#ifndef MAME_OSD_MODULES_MONITOR_MONITORMODULE_H
#define MAME_OSD_MODULES_MONITOR_MONITORMODULE_H
+#include <cstdint>
#include <vector>
#include "modules/osdmodule.h"
@@ -53,7 +54,7 @@ public:
float aspect() const { return m_aspect; }
float pixel_aspect() const { return m_aspect / (float(m_pos_size.width()) / float(m_pos_size.height())); }
- void update_resolution(const int new_width, const int new_height) const { m_pos_size.resize(new_width, new_height); }
+ void update_resolution(const int new_width, const int new_height) { m_pos_size = m_pos_size.resize(new_width, new_height); }
void set_aspect(const float a) { m_aspect = a; }
bool is_primary() const { return m_is_primary; }
416d604d'>Fix more region widths (nw) AJR2019-11-161-3/+3 * (nw) removed every remaining AM_ macro I could find in comments, but one in ... Ivan Vangelista2019-10-101-20/+20 * (nw) Clean up the mess on master Vas Crabb2019-03-261-15/+16 * Revert "conflict resolution (nw)" andreasnaive2019-03-251-16/+15 * mame\drivers: removed most MCFG and MACHINE_CONFIG macros from drivers starti... Ivan Vangelista2019-02-261-12/+13 * (nw) clean up trivial stuff - the device delegate boilerplate is ugly, I will... Vas Crabb2019-02-191-1/+1 * imagedev\floppy: removed MCFG macros (nw) Ivan Vangelista2019-01-281-2/+2 * upd765: Add (mostly standard) clocks to all devices in the family (nw) AJR2018-12-131-1/+1 * Include floppy.h explicitly in drivers and bus cards, rather than indirectly ... AJR2018-11-251-0/+1 * mc6845, upd7220: removed MCFG macros (nw) Ivan Vangelista2018-11-201-3/+3 * pc_lpt, upd765: removed MCFG macros (nw) Ivan Vangelista2018-09-281-1/+1 * more private: use (K,L,M) (#3714) David Haywood2018-06-301-1/+3 * Remove emupal.h from emu.h (nw) AJR2018-06-131-0/+1 * as if millions of this pointers suddenly cried out in terror, and were sudden... Vas Crabb2018-06-081-1/+1 * Removed DRIVER_INIT-related macros, made driver init entry in GAME/COMP/CONS ... MooglyGuy2018-05-131-2/+2 * Streamline machine configuration macros - everyone's a device edition. Vas Crabb2018-05-061-3/+3 * Make MCFG_DEVICE_ADD and callable device types more flexible: Vas Crabb2018-05-041-3/+4 * Address maps macros removal, pass 1 [O. Galibert] Olivier Galibert2018-03-141-14/+17 * API change: Memory maps are now methods of the owner class [O. Galibert] Olivier Galibert2018-02-121-3/+6 * API Change: Machine configs are now a method of the owner class, and the prot... Olivier Galibert2018-01-171-1/+2 * dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-031-2/+2 * Move static data out of devices into the device types. This is a significant... Vas Crabb2017-05-141-3/+3 * Self-registering devices prep: Vas Crabb2017-02-271-0/+1 * NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-2/+2 * reverting: Miodrag Milanovic2016-01-201-1/+1 * tags are now strings (nw) Miodrag Milanovic2016-01-161-1/+1 * overrides in drivers (nw) Miodrag Milanovic2015-12-061-2/+2