mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Add Uthernet II support and make Uthernet I a Card. (PR #1047)
. tfe.cpp renamed to Uthernet1.cpp. . add class NetworkBackend: common to both U1 and U2 cards, and abstracts Windows/Linux backends. . modernise error message if WPCAP.DLL is not installed.
This commit is contained in:
@@ -44,6 +44,8 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "SaveState.h"
|
||||
#include "SerialComms.h"
|
||||
#include "SoundCore.h"
|
||||
#include "Uthernet1.h"
|
||||
#include "Uthernet2.h"
|
||||
#include "Speaker.h"
|
||||
#include "Utilities.h"
|
||||
#include "../resource/resource.h"
|
||||
@@ -966,6 +968,10 @@ LRESULT Win32Frame::WndProc(
|
||||
GetCardMgr().GetDisk2CardMgr().Destroy();
|
||||
if (GetCardMgr().QuerySlot(SLOT7) == CT_GenericHDD)
|
||||
dynamic_cast<HarddiskInterfaceCard&>(GetCardMgr().GetRef(SLOT7)).Destroy();
|
||||
if (GetCardMgr().QuerySlot(SLOT3) == CT_Uthernet)
|
||||
dynamic_cast<Uthernet1&>(GetCardMgr().GetRef(SLOT3)).Destroy();
|
||||
if (GetCardMgr().QuerySlot(SLOT3) == CT_Uthernet2)
|
||||
dynamic_cast<Uthernet2&>(GetCardMgr().GetRef(SLOT3)).Destroy();
|
||||
}
|
||||
PrintDestroy();
|
||||
if (GetCardMgr().IsSSCInstalled())
|
||||
|
||||
Reference in New Issue
Block a user