From f8f3d681876e2b39333e01b9bdb52ba61a5bfbe1 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Fri, 25 Apr 2014 07:31:27 +0000 Subject: -Made osd_interface base class for OSD and moved initialization for each subsystem in it as virtual calls. (nw) -Moved midi handling in base class -Cleaned running_machine of information of next machine -All is cleaned after exiting of running_machine so debugger window is removed as well till next machine is started -Made osdmini to compile --- src/osd/windows/netdev.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/osd/windows/netdev.c') diff --git a/src/osd/windows/netdev.c b/src/osd/windows/netdev.c index 29bb4a17696..4702a67912e 100644 --- a/src/osd/windows/netdev.c +++ b/src/osd/windows/netdev.c @@ -1,12 +1,14 @@ #include "emu.h" +#include "winmain.h" #include "netdev_pcap.h" -void winnetdev_init(running_machine &machine) +bool windows_osd_interface::network_init() { init_pcap(); + return true; } -void winnetdev_deinit(running_machine &machine) +void windows_osd_interface::network_exit() { deinit_pcap(); } -- cgit v1.2.3-70-g09d2