summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/windows/netdev.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2014-04-25 07:31:27 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2014-04-25 07:31:27 +0000
commitf8f3d681876e2b39333e01b9bdb52ba61a5bfbe1 (patch)
tree32bbd8d8fc657b7c5c6a96412e9f917555c0697a /src/osd/windows/netdev.c
parentfbef800627be494a0ab1592a83fa7c76cd63475d (diff)
-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
Diffstat (limited to 'src/osd/windows/netdev.c')
-rw-r--r--src/osd/windows/netdev.c6
1 files changed, 4 insertions, 2 deletions
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();
}