From 7d3ce203b52531989d8895f92c19c83f8a14eb21 Mon Sep 17 00:00:00 2001 From: Brad Hughes Date: Mon, 22 Aug 2016 08:28:55 -0400 Subject: osd input code cleanup (nw) --- src/osd/modules/input/input_xinput.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/osd/modules/input/input_xinput.cpp') diff --git a/src/osd/modules/input/input_xinput.cpp b/src/osd/modules/input/input_xinput.cpp index e64b166c287..ba25e4e1cd9 100644 --- a/src/osd/modules/input/input_xinput.cpp +++ b/src/osd/modules/input/input_xinput.cpp @@ -24,7 +24,6 @@ // MAME headers #include "emu.h" -#include "osdepend.h" // MAMEOS headers #include "winutil.h" @@ -75,7 +74,7 @@ xinput_joystick_device * xinput_api_helper::create_xinput_device(running_machine snprintf(device_name, sizeof(device_name), "XInput Player %u", index + 1); // allocate the device object - devinfo = module.devicelist()->create_device1(machine, device_name, module, shared_from_this()); + devinfo = module.devicelist()->create_device(machine, device_name, module, shared_from_this()); // Set the player ID devinfo->xinput_state.player_index = index; -- cgit v1.2.3