From e5690695e1d36d8ff9f0d8d61d28fec472842462 Mon Sep 17 00:00:00 2001 From: yz70s Date: Thu, 21 Apr 2016 20:21:20 +0200 Subject: [PATCH] tidy up (nw) --- src/mame/machine/xbox.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mame/machine/xbox.cpp b/src/mame/machine/xbox.cpp index f02b5ed2eb1..c789c9c8d38 100644 --- a/src/mame/machine/xbox.cpp +++ b/src/mame/machine/xbox.cpp @@ -526,8 +526,6 @@ const device_type OHCI_USB_CONTROLLER = &device_creator; ohci_usb_controller::ohci_usb_controller(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, OHCI_USB_CONTROLLER, "OHCI USB CONTROLLER", tag, owner, clock, "ohciusb", __FILE__), - //m_maincpu(*this, "maincpu"), - //pic8259_1(*this, "pic8259_1"), m_interrupt_handler(*this) { memset(&ohcist, 0, sizeof(ohcist)); @@ -550,7 +548,7 @@ void ohci_usb_controller::device_start() for (int n = 0; n < 256; n++) ohcist.address[n].port = -1; ohcist.space = &(m_maincpu->space()); - ohcist.timer = timer_alloc(0);// machine().scheduler().timer_alloc(timer_expired_delegate(FUNC(xbox_base_state::usb_ohci_timer), this), (void *)"USB OHCI Timer"); + ohcist.timer = timer_alloc(0); ohcist.timer->enable(false); }