summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/sdl/video.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/sdl/video.c')
-rw-r--r--src/osd/sdl/video.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/osd/sdl/video.c b/src/osd/sdl/video.c
index a7374845dc0..19216bf5059 100644
--- a/src/osd/sdl/video.c
+++ b/src/osd/sdl/video.c
@@ -312,7 +312,7 @@ void sdl_osd_interface::update(bool skip_redraw)
{
// profiler_mark(PROFILER_BLIT);
for (window = sdl_window_list; window != NULL; window = window->m_next)
- window->video_window_update(machine());
+ window->update();
// profiler_mark(PROFILER_END);
}
@@ -544,7 +544,7 @@ sdl_monitor_info *sdl_monitor_info::pick_monitor(sdl_options &options, int index
static void check_osd_inputs(running_machine &machine)
{
- sdl_window_info *window = sdlinput_get_focus_window(machine);
+ sdl_window_info *window = sdlinput_get_focus_window();
// check for toggling fullscreen mode
if (ui_input_pressed(machine, IPT_OSD_1))
@@ -553,7 +553,7 @@ static void check_osd_inputs(running_machine &machine)
while (curwin != (sdl_window_info *)NULL)
{
- curwin->toggle_full_screen(machine);
+ curwin->toggle_full_screen();
curwin = curwin->m_next;
}
}
@@ -582,10 +582,10 @@ static void check_osd_inputs(running_machine &machine)
#endif
if (ui_input_pressed(machine, IPT_OSD_6))
- window->modify_prescale(machine, -1);
+ window->modify_prescale(-1);
if (ui_input_pressed(machine, IPT_OSD_7))
- window->modify_prescale(machine, 1);
+ window->modify_prescale(1);
}
//============================================================