Proper UI support for internal devices, phase 1.

This commit is contained in:
OBattler
2023-10-06 05:28:26 +02:00
parent b624e65380
commit 79e5a1dfbb
5 changed files with 52 additions and 12 deletions

View File

@@ -94,8 +94,23 @@ static const device_t net_none_device = {
.config = NULL
};
static const device_t net_internal_device = {
.name = "Internal",
.internal_name = "internal",
.flags = 0,
.local = NET_TYPE_NONE,
.init = NULL,
.close = NULL,
.reset = NULL,
{ .available = NULL },
.speed_changed = NULL,
.force_redraw = NULL,
.config = NULL
};
static const device_t *net_cards[] = {
&net_none_device,
&net_internal_device,
&threec501_device,
&threec503_device,
&pcnet_am79c960_device,