summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/mac/video.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/mac/video.cpp')
-rw-r--r--src/osd/mac/video.cpp16
1 files changed, 12 insertions, 4 deletions
diff --git a/src/osd/mac/video.cpp b/src/osd/mac/video.cpp
index 638e7a949b3..3f585458f8d 100644
--- a/src/osd/mac/video.cpp
+++ b/src/osd/mac/video.cpp
@@ -108,16 +108,24 @@ void mac_osd_interface::update(bool skip_redraw)
// profiler_mark(PROFILER_END);
}
- // poll the joystick values here
- downcast<mac_osd_interface&>(machine().osd()).poll_inputs(machine());
-
- check_osd_inputs(machine());
// if we're running, disable some parts of the debugger
if ((machine().debug_flags & DEBUG_FLAG_OSD_ENABLED) != 0)
debugger_update();
}
//============================================================
+// input_update
+//============================================================
+
+void mac_osd_interface::input_update()
+{
+ // poll the joystick values here
+ process_events_buf();
+ poll_inputs(machine());
+ check_osd_inputs(machine());
+}
+
+//============================================================
// check_osd_inputs
//============================================================