WiFi: Do some minor fixes.

This commit is contained in:
rogerman 2018-08-06 10:29:28 -07:00
parent 36ee2477b1
commit 65901c77c0
2 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,6 @@
/* Copyright (C) 2007 Tim Seidel
Copyright (C) 2008-2010 DeSmuME team
/*
Copyright (C) 2007 Tim Seidel
Copyright (C) 2008-2018 DeSmuME team
This file is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@ -1987,6 +1988,7 @@ bool SoftAP_Init()
if(wifi_bridge == NULL)
{
WIFI_LOG(1, "SoftAP: PCap: failed to open %s: %s\n", dev->PCAP_DEVICE_NAME, errbuf);
driver->PCAP_freealldevs(alldevs);
return false;
}
else

View File

@ -1,6 +1,7 @@
/* Copyright (C) 2007 Tim Seidel
Copyright (C) 2008-2009 DeSmuME team
/*
Copyright (C) 2007 Tim Seidel
Copyright (C) 2014 pleonex
Copyright (C) 2008-2018 DeSmuME team
This file is part of DeSmuME
@ -26,7 +27,10 @@
#ifdef EXPERIMENTAL_WIFI_COMM
#ifndef __APPLE__
#define HAVE_REMOTE
#endif
#define WPCAP
#define PACKET_SIZE 65535
#define _INC_STDIO